Skip to content

Commit 688a320

Browse files
authored
Merge pull request #4 from tpoindessous/add_disk
add some forgotten variables
2 parents 717869b + 0336c79 commit 688a320

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

main.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
16+
1717
resource "google_sql_database_instance" "master" {
1818
name = "${var.name}"
1919
project = "${var.project}"
@@ -29,6 +29,10 @@ resource "google_sql_database_instance" "master" {
2929
ip_configuration = ["${var.ip_configuration}"]
3030
location_preference = ["${var.location_preference}"]
3131
maintenance_window = ["${var.maintenance_window}"]
32+
disk_size = "${var.disk_size}"
33+
disk_type = "${var.disk_type}"
34+
pricing_plan = "${var.pricing_plan}"
35+
replication_type = "${var.replication_type}"
3236
}
3337

3438
replica_configuration = ["${var.replica_configuration}"]

outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
16+
1717
output instance_name {
1818
description = "The name of the database instance"
1919
value = "${google_sql_database_instance.master.name}"

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
16+
1717
variable project {
1818
description = "The project to deploy to, if not set the default provider project is used."
1919
default = ""

0 commit comments

Comments
 (0)