Skip to content

Commit 04ac846

Browse files
authored
fix: Change GCE image project as "gce-uefi-images" is being deprecated. (#148)
1 parent 266cfb9 commit 04ac846

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

modules/instance_template/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ See the [simple](../../examples/instance_template/simple) for a usage example.
3333
| shielded\_instance\_config | Not used unless enable\_shielded\_vm is true. Shielded VM configuration for the instance. | <pre>object({<br> enable_secure_boot = bool<br> enable_vtpm = bool<br> enable_integrity_monitoring = bool<br> })</pre> | <pre>{<br> "enable_integrity_monitoring": true,<br> "enable_secure_boot": true,<br> "enable_vtpm": true<br>}</pre> | no |
3434
| source\_image | Source disk image. If neither source\_image nor source\_image\_family is specified, defaults to the latest public CentOS image. | `string` | `""` | no |
3535
| source\_image\_family | Source image family. If neither source\_image nor source\_image\_family is specified, defaults to the latest public CentOS image. | `string` | `"centos-7"` | no |
36-
| source\_image\_project | Project where the source image comes from. The default project contains images that support Shielded VMs if desired | `string` | `"gce-uefi-images"` | no |
36+
| source\_image\_project | Project where the source image comes from. The default project contains CentOS images. | `string` | `"centos-cloud"` | no |
3737
| startup\_script | User startup script to run when instances spin up | `string` | `""` | no |
3838
| subnetwork | The name of the subnetwork to attach this interface to. The subnetwork must exist in the same region this instance will be created in. Either network or subnetwork must be provided. | `string` | `""` | no |
3939
| subnetwork\_project | The ID of the project in which the subnetwork belongs. If it is not provided, the provider project is used. | `string` | `""` | no |

modules/instance_template/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ variable "source_image_family" {
7373
}
7474

7575
variable "source_image_project" {
76-
description = "Project where the source image comes from. The default project contains images that support Shielded VMs if desired"
77-
default = "gce-uefi-images"
76+
description = "Project where the source image comes from. The default project contains CentOS images."
77+
default = "centos-cloud"
7878
}
7979

8080
variable "disk_size_gb" {

modules/mig/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ terraform {
2121
google-beta = ">= 3.43, <4.0"
2222
}
2323
provider_meta "google" {
24-
module_name = "blueprints/terraform/terraform-google-vm:mig/v6.1.0"
24+
module_name = "blueprints/terraform/terraform-google-vm:mig/v6.0.0"
2525
}
2626
provider_meta "google-beta" {
27-
module_name = "blueprints/terraform/terraform-google-vm:mig/v6.1.0"
27+
module_name = "blueprints/terraform/terraform-google-vm:mig/v6.0.0"
2828
}
2929
}

modules/mig_with_percent/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ terraform {
2121
google-beta = ">= 3.43, <4.0"
2222
}
2323
provider_meta "google" {
24-
module_name = "blueprints/terraform/terraform-google-vm:mig_with_percent/v6.1.0"
24+
module_name = "blueprints/terraform/terraform-google-vm:mig_with_percent/v6.0.0"
2525
}
2626
provider_meta "google-beta" {
27-
module_name = "blueprints/terraform/terraform-google-vm:mig_with_percent/v6.1.0"
27+
module_name = "blueprints/terraform/terraform-google-vm:mig_with_percent/v6.0.0"
2828
}
2929
}

0 commit comments

Comments
 (0)