You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Atmos fails to load any Terraform component that uses variable interpolation #2913
Atmos fails to load any Terraform component that uses variable interpolation in a module block's source, even though this is valid configuration in Terraform 1.15+
when the referenced variable is declared const = true (and in OpenTofu 1.8+).
Any command that resolves the component fails during config parsing, before Terraform
is ever invoked:
failed to load terraform component
The Terraform component 'testme' contains invalid HCL code at components/terraform/testme/main.tf:27.
Variables not allowed: Variables may not be used here.
Root cause. Atmos parses components with terraform-config-inspect, which decoded module.source using a nil hcl.EvalContext:
Activity
fix(terraform): support Terraform 1.15+ module source interpolation (c…