Terraform Automation & Collaboration Software (TACOS) help organizations to scale the use of Terraform by enabling collaboration through governance, access controls, and automation of Terraform runs.
│ Error: Invalid value for input variable
│
│ on main.tf line 128, in module "instances":
│ 128: additional_disks = [
│ 129: google_compute_disk.data[each.key].name,
│ 130: ]
│
│ The given value is not suitable for module.instances.var.additional_disks
│ declared at
│ .terraform/modules/instances/instance_salt/_variables.tf:105,1-28: map of
│ object required.
╵
ERRO[0014] Terraform invocation failed in /Users/mwarkentin/repos/sentry/ops/terragrunt/regions/multi-tenant/clickhouse/snuba-generic-metrics-distributions/de/.terragrunt-cache/hoGDh_7488FOX2UZWs4a6aaiLiM/0rghWROp0gJdHK4BUmBouoAzp4g/cluster_clickhouse prefix=[/Users/mwarkentin/repos/sentry/ops/terragrunt/regions/multi-tenant/clickhouse/snuba-generic-metrics-distributions/de]
ERRO[0014] 1 error occurred:
* exit status 1
I was able to get this plan working without any further changes locally by removing .terragrunt-cache/, not sure why this isn't working on GHA, I thought it inits from scratch each time.
https://github.com/getsentry/ops/actions/runs/9583980312
Had to run locally to get:
I was able to get this plan working without any further changes locally by removing .terragrunt-cache/, not sure why this isn't working on GHA, I thought it inits from scratch each time.
Originally posted by @mwarkentin in https://github.com/getsentry/tacos-gha/issues/220#issuecomment-2178884742