Skip to content

Commit

Permalink
fix(deps)!: Update Terraform terraform-google-modules/vm/google to v11 (
Browse files Browse the repository at this point in the history
#152)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Grant Sorbo <[email protected]>
  • Loading branch information
renovate[bot] and gtsorbo authored Aug 27, 2024
1 parent 75da564 commit 42e5161
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
4 changes: 2 additions & 2 deletions examples/gh-org-runner-mig-native-simple/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
version = ">= 4.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
version = ">= 4.0"
}
}
required_version = ">= 0.13"
Expand Down
17 changes: 8 additions & 9 deletions modules/gh-runner-mig-container-vm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ module "gce-container" {

module "mig_template" {
source = "terraform-google-modules/vm/google//modules/instance_template"
version = "~> 7.0"
version = "~> 11.0"
project_id = var.project_id
region = var.region
network = local.network_name
Expand Down Expand Up @@ -183,14 +183,13 @@ module "mig_template" {
Runner MIG
*****************************************/
module "mig" {
source = "terraform-google-modules/vm/google//modules/mig"
version = "~> 7.0"
project_id = var.project_id
subnetwork_project = var.project_id
hostname = local.instance_name
region = var.region
instance_template = module.mig_template.self_link
target_size = var.target_size
source = "terraform-google-modules/vm/google//modules/mig"
version = "~> 11.0"
project_id = var.project_id
hostname = local.instance_name
region = var.region
instance_template = module.mig_template.self_link
target_size = var.target_size

/* autoscaler */
autoscaling_enabled = true
Expand Down
15 changes: 7 additions & 8 deletions modules/gh-runner-mig-vm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ locals {

module "mig_template" {
source = "terraform-google-modules/vm/google//modules/instance_template"
version = "~> 7.0"
version = "~> 11.0"
project_id = var.project_id
machine_type = var.machine_type
network = local.network_name
Expand Down Expand Up @@ -151,13 +151,12 @@ module "mig_template" {
Runner MIG
*****************************************/
module "mig" {
source = "terraform-google-modules/vm/google//modules/mig"
version = "~> 7.0"
project_id = var.project_id
subnetwork_project = var.project_id
hostname = local.instance_name
region = var.region
instance_template = module.mig_template.self_link
source = "terraform-google-modules/vm/google//modules/mig"
version = "~> 11.0"
project_id = var.project_id
hostname = local.instance_name
region = var.region
instance_template = module.mig_template.self_link

/* autoscaler */
autoscaling_enabled = true
Expand Down

0 comments on commit 42e5161

Please sign in to comment.