From 24742ab6d3efdb1623fee544cbd9e530872aab3b Mon Sep 17 00:00:00 2001 From: Bartek Moczulski <12998104+bartekmo@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:04:51 +0100 Subject: [PATCH 1/2] adapt for provider changes https://github.com/hashicorp/terraform-provider-google/commit/7762094e23d4902f05fb1e8b105bf395f57d650a --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 94b0b78..3e9a647 100644 --- a/main.tf +++ b/main.tf @@ -252,7 +252,7 @@ resource "google_secret_manager_secret" "api-secret" { secret_id = var.api_token_secret_name replication { - automatic = true + auto {} } } From da271bf0b97f63ff11ad8a0ce7a281d988f3ec5a Mon Sep 17 00:00:00 2001 From: Bartek Moczulski <12998104+bartekmo@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:10:42 +0100 Subject: [PATCH 2/2] unlink examples from release tag --- examples/api-token/main.tf | 2 +- examples/arm-based-machine-type/main.tf | 2 +- examples/byol-existing-subnets/main.tf | 2 +- examples/gvnic-custom-image/main.tf | 2 +- examples/licensing-byol/main.tf | 2 +- examples/licensing-flex/main.tf | 2 +- examples/licensing-payg/main.tf | 2 +- examples/minimal/main.tf | 2 +- examples/payg-new-subnets/main.tf | 2 +- examples/public-addresses-elb-frontend/main.tf | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/api-token/main.tf b/examples/api-token/main.tf index 7ebb3cc..6b5af0c 100644 --- a/examples/api-token/main.tf +++ b/examples/api-token/main.tf @@ -1,5 +1,5 @@ module "fgt_ha" { - source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb?ref=v1.0.0" + source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb" region = "us-central1" subnets = [ "external", "internal", "hasync", "mgmt" ] diff --git a/examples/arm-based-machine-type/main.tf b/examples/arm-based-machine-type/main.tf index b2beb4b..7d79829 100644 --- a/examples/arm-based-machine-type/main.tf +++ b/examples/arm-based-machine-type/main.tf @@ -1,5 +1,5 @@ module "fgt_ha" { - source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb?ref=v1.0.0" + source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb" image_family = "fortigate-arm64-72-payg" machine_type = "t2a-standard-4" diff --git a/examples/byol-existing-subnets/main.tf b/examples/byol-existing-subnets/main.tf index 4a529e6..3bb35c4 100644 --- a/examples/byol-existing-subnets/main.tf +++ b/examples/byol-existing-subnets/main.tf @@ -1,5 +1,5 @@ module "fgt_ha" { - source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb?ref=v1.0.0" + source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb" prefix = "fgt-example-byol" region = "us-central1" diff --git a/examples/gvnic-custom-image/main.tf b/examples/gvnic-custom-image/main.tf index 99bdc6f..61ede90 100644 --- a/examples/gvnic-custom-image/main.tf +++ b/examples/gvnic-custom-image/main.tf @@ -8,7 +8,7 @@ resource "google_compute_image" "fgt_724_gvnic" { } module "fgt_ha" { - source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb?ref=v1.0.0" + source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb" region = "us-central1" subnets = [ "external", "internal", "hasync", "mgmt" ] diff --git a/examples/licensing-byol/main.tf b/examples/licensing-byol/main.tf index 3d11ef5..2ee5c0b 100644 --- a/examples/licensing-byol/main.tf +++ b/examples/licensing-byol/main.tf @@ -1,5 +1,5 @@ module "fgt_ha" { - source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb?ref=v1.0.0" + source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb" region = "us-central1" subnets = [ "external", "internal", "hasync", "mgmt" ] diff --git a/examples/licensing-flex/main.tf b/examples/licensing-flex/main.tf index 378c5fc..b1949aa 100644 --- a/examples/licensing-flex/main.tf +++ b/examples/licensing-flex/main.tf @@ -1,5 +1,5 @@ module "fgt_ha" { - source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb?ref=v1.0.0" + source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb" region = "us-central1" subnets = [ "external", "internal", "hasync", "mgmt" ] diff --git a/examples/licensing-payg/main.tf b/examples/licensing-payg/main.tf index 4a6af0e..805d106 100644 --- a/examples/licensing-payg/main.tf +++ b/examples/licensing-payg/main.tf @@ -1,5 +1,5 @@ module "fgt_ha" { - source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb?ref=v1.0.0" + source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb" region = "us-central1" subnets = [ "external", "internal", "hasync", "mgmt" ] diff --git a/examples/minimal/main.tf b/examples/minimal/main.tf index 4decf14..2dadb63 100644 --- a/examples/minimal/main.tf +++ b/examples/minimal/main.tf @@ -1,5 +1,5 @@ module "fgt_ha" { - source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb?ref=v1.0.0" + source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb" region = "us-central1" subnets = [ "external", "internal", "hasync", "mgmt" ] diff --git a/examples/payg-new-subnets/main.tf b/examples/payg-new-subnets/main.tf index e7b3770..cb4701b 100644 --- a/examples/payg-new-subnets/main.tf +++ b/examples/payg-new-subnets/main.tf @@ -33,7 +33,7 @@ resource google_compute_subnetwork "demo" { # deploy the FortiGates module "fgt_ha" { - source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb?ref=v1.0.0" + source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb" prefix = "fgt-example-payg" region = var.region diff --git a/examples/public-addresses-elb-frontend/main.tf b/examples/public-addresses-elb-frontend/main.tf index 9f748b5..81b16f6 100644 --- a/examples/public-addresses-elb-frontend/main.tf +++ b/examples/public-addresses-elb-frontend/main.tf @@ -1,5 +1,5 @@ module "fgt_ha" { - source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb?ref=v1.0.0" + source = "git::github.com/fortinet/terraform-google-fgt-ha-ap-lb" region = "us-central1" subnets = [ "external", "internal", "hasync", "mgmt" ]