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
Go templates in component and metadata.component section are useful when multiple versions of the same Terraform component are used from components/terraform section, and a particular version can be defined using templates. Use Go templates in metadata.component section as follows:
components:
terraform:
my-component:
settings:
component: my-tf-component # Point to the Terraform componentmetadata:
component: "{{ .settings.component }}"
The components.terraform.command and components.helmfile.command sections in atmos.yaml specify the executable to be called by atmos when running Terraform and Helmfile commands. Allows specifying different versions of OpenTofu executables
components:
terraform:
# Optional `command` specifies the executable to be called by `atmos` when running Terraform commands# If not defined, `terraform` is used# Examples:# command: terraform# command: /usr/local/bin/terraform# command: /usr/local/bin/terraform-1.8# command: tofu# command: /usr/local/bin/tofu-1.7.1# Can also be set using 'ATMOS_COMPONENTS_TERRAFORM_COMMAND' ENV var, or '--terraform-command' command-line argumentcommand: terraformhelmfile:
# Optional `command` specifies the executable to be called by `atmos` when running Helmfile commands# If not defined, `helmfile` is used# Examples:# command: helmfile# command: /usr/local/bin/helmfile# Can also be set using 'ATMOS_COMPONENTS_HELMFILE_COMMAND' ENV var, or '--helmfile-command' command-line argumentcommand: helmfile