File tree Expand file tree Collapse file tree 21 files changed +24
-30
lines changed
preemptible_and_regular_instance_templates/simple Expand file tree Collapse file tree 21 files changed +24
-30
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,6 @@ group with an autoscaler.
2222| ------| -------------|
2323| instance\_ template\_ self\_ link | Self-link of instance template |
2424| mig\_ self\_ link | Self-link for managed instance group |
25+ | region | The GCP region to create and test resources in |
2526
2627<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -24,3 +24,7 @@ output "mig_self_link" {
2424 value = module. mig . self_link
2525}
2626
27+ output "region" {
28+ description = " The GCP region to create and test resources in"
29+ value = var. region
30+ }
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ managed instance group.
1818
1919| Name | Description |
2020| ------| -------------|
21+ | region | The GCP region to create and test resources in |
2122| self\_ link | Self-link of the managed instance group |
2223
2324<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -19,3 +19,7 @@ output "self_link" {
1919 value = module. mig . self_link
2020}
2121
22+ output "region" {
23+ description = " The GCP region to create and test resources in"
24+ value = var. region
25+ }
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ managed instance group.
1717
1818| Name | Description |
1919| ------| -------------|
20+ | region | The GCP region to create and test resources in |
2021| self\_ link | Self-link of the managed instance group |
2122
2223<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -18,3 +18,8 @@ output "self_link" {
1818 description = " Self-link of the managed instance group"
1919 value = module. mig_with_percent . self_link
2020}
21+
22+ output "region" {
23+ description = " The GCP region to create and test resources in"
24+ value = var. region
25+ }
Original file line number Diff line number Diff line change 1717module "instance_template_additional_disks" {
1818 source = " ../../../../examples/instance_template/additional_disks"
1919 project_id = var. project_id
20- region = var. region
2120 subnetwork = google_compute_subnetwork. main . name
2221 service_account = var. service_account
2322}
Original file line number Diff line number Diff line change @@ -18,9 +18,7 @@ variable "project_id" {
1818 description = " The GCP project to use for integration tests"
1919}
2020
21- variable "region" {
22- description = " The GCP region to create and test resources in"
23- }
21+
2422
2523variable "service_account" {
2624 default = null
Original file line number Diff line number Diff line change 1717module "instance_template_simple" {
1818 source = " ../../../../examples/instance_template/simple"
1919 project_id = var. project_id
20- region = var. region
2120 subnetwork = google_compute_subnetwork. main . name
2221 service_account = var. service_account
2322 tags = [" foo" , " bar" ]
Original file line number Diff line number Diff line change @@ -18,9 +18,7 @@ variable "project_id" {
1818 description = " The GCP project to use for integration tests"
1919}
2020
21- variable "region" {
22- description = " The GCP region to create and test resources in"
23- }
21+
2422
2523variable "service_account" {
2624 default = null
You can’t perform that action at this time.
0 commit comments