_defaults.yaml2.0 KB
View on GitHubvars:
namespace: acme
settings:
# https://atmos.tools/core-concepts/stacks/templates
templates:
settings:
# https://masterminds.github.io/sprig
sprig: {}
# https://docs.gomplate.ca
gomplate:
timeout: 5
# https://docs.gomplate.ca/datasources
datasources: {}
terraform:
vars:
tags:
# https://atmos.tools/core-concepts/stacks/templates
atmos_component: "{{ .atmos_component }}"
atmos_stack: "{{ .atmos_stack }}"
atmos_manifest: "{{ .atmos_stack_file }}"
terraform_workspace: "{{ .workspace }}"
terraform_component: "{{ .component }}"
# Examples of using the Sprig and Gomplate functions
# https://masterminds.github.io/sprig/os.html
provisioned_by_user: '{{ env "USER" }}'
# https://docs.gomplate.ca/functions/strings
atmos_component_description: "{{ strings.Title .atmos_component }} component {{ .vars.name | strings.Quote }} provisioned in the stack {{ .atmos_stack | strings.Quote }}"
# Terraform backend configuration
# https://atmos.tools/core-concepts/components/terraform/backends
# https://developer.hashicorp.com/terraform/language/settings/backends/configuration
# backend_type: cloud # s3, cloud
# backend:
# # AWS S3 backend
# s3:
# acl: "bucket-owner-full-control"
# encrypt: true
# bucket: "your-s3-bucket-name"
# dynamodb_table: "your-dynamodb-table-name"
# key: "terraform.tfstate"
# region: "us-east-2"
# role_arn: "arn:aws:iam::<your account ID>:role/<IAM Role with permissions to access the Terraform backend>"
# # Terraform Cloud backend
# # https://developer.hashicorp.com/terraform/cli/cloud/settings
# cloud:
# organization: "your-org"
# hostname: "app.terraform.io"
# workspaces:
# # The token `{terraform_workspace}` will be automatically replaced with the
# # Terraform workspace for each Atmos component
# name: "{terraform_workspace}"