terraform-google-modules / terraform-example-foundation

Shows how the CFT modules can be composed to build a secure cloud foundation
https://cloud.google.com/architecture/security-foundations
Apache License 2.0
1.2k stars 706 forks source link

terraform-google-modules dependency tree reverse engineering #1147

Closed obriensystems closed 4 months ago

obriensystems commented 5 months ago

talking to Marian. LZ customization on demand - script to modify tfvars - one option

TL;DR

local ../ and remote modules https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/2-environments/modules/env_baseline/monitoring.tf#L22

module "monitoring_project" {
  source  = "terraform-google-modules/project-factory/google"
  version = "~> 14.0"

see https://registry.terraform.io/modules/terraform-google-modules/project-factory/google/14.4.0

some modules are from GoogleCloudPlatform

module "ilbs" {
  source   = "GoogleCloudPlatform/lb-internal/google"
  version  = "~> 5.0"
  for_each = toset(var.regions)

see https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/3-networks-hub-and-spoke/modules/transitivity/main.tf#L92

Start with the terraform plugin in Jetforms intelliJ

Screenshot 2024-03-08 at 07 23 06

assigned to fmichaelobrien

Terraform Resources

No response

Detailed design

No response

Additional information

No response

fmichaelobrien commented 4 months ago

bump for 23day stale state