terraform-example-foundation icon indicating copy to clipboard operation
terraform-example-foundation copied to clipboard

upgrade terraform 1.3.0 past 1.6 to 1.7.4 to allow for PBR policy based routing - workaround is to gcloud the api

Open obriensystems opened this issue 1 year ago • 1 comments

TL;DR

check at least 1.5.4 see

The version of terraform run internally has issues with lack of support for later APIs https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/0-bootstrap/Dockerfile#L18

ARG TERRAFORM_VERSION=1.3.0

We need support for PBR - Policy Based Routing

without PBR we dont have PBMM microsegmenation https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/0-bootstrap/Dockerfile#L18 https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/854 https://cloud.google.com/vpc/docs/policy-based-routes https://medium.com/google-cloud/why-policy-based-routing-is-a-game-changer-f4c6a7badccb https://codelabs.developers.google.com/codelabs/cloudnet-pbr#0

During the upgrade check for instances of OPTIONAL

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

1.7.4 in gcloud

Terraform Version

1.7.4 in gcloud

Additional information

No response

obriensystems avatar Mar 07 '24 12:03 obriensystems

workaround is to gcloud the pbr api

obriensystems avatar Mar 07 '24 12:03 obriensystems

stale bot timer restart - https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/.github/workflows/stale.yml#L21

fmichaelobrien avatar Apr 11 '24 15:04 fmichaelobrien