Skip to content

Commit

Permalink
fix: Change GCE image project as "gce-uefi-images" is being deprecate…
Browse files Browse the repository at this point in the history
…d. (#148)
  • Loading branch information
jkl73 authored Mar 2, 2021
1 parent 266cfb9 commit 04ac846
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modules/instance_template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ See the [simple](../../examples/instance_template/simple) for a usage example.
| 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 |
| source\_image | Source disk image. If neither source\_image nor source\_image\_family is specified, defaults to the latest public CentOS image. | `string` | `""` | no |
| 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 |
| 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 |
| source\_image\_project | Project where the source image comes from. The default project contains CentOS images. | `string` | `"centos-cloud"` | no |
| startup\_script | User startup script to run when instances spin up | `string` | `""` | no |
| 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 |
| subnetwork\_project | The ID of the project in which the subnetwork belongs. If it is not provided, the provider project is used. | `string` | `""` | no |
Expand Down
4 changes: 2 additions & 2 deletions modules/instance_template/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ variable "source_image_family" {
}

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

variable "disk_size_gb" {
Expand Down
4 changes: 2 additions & 2 deletions modules/mig/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ terraform {
google-beta = ">= 3.43, <4.0"
}
provider_meta "google" {
module_name = "blueprints/terraform/terraform-google-vm:mig/v6.1.0"
module_name = "blueprints/terraform/terraform-google-vm:mig/v6.0.0"
}
provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-google-vm:mig/v6.1.0"
module_name = "blueprints/terraform/terraform-google-vm:mig/v6.0.0"
}
}
4 changes: 2 additions & 2 deletions modules/mig_with_percent/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ terraform {
google-beta = ">= 3.43, <4.0"
}
provider_meta "google" {
module_name = "blueprints/terraform/terraform-google-vm:mig_with_percent/v6.1.0"
module_name = "blueprints/terraform/terraform-google-vm:mig_with_percent/v6.0.0"
}
provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-google-vm:mig_with_percent/v6.1.0"
module_name = "blueprints/terraform/terraform-google-vm:mig_with_percent/v6.0.0"
}
}

0 comments on commit 04ac846

Please sign in to comment.