_defaults.yaml1.0 KB
View on GitHub# atmos:template
# yaml-language-server: $schema=https://atmos.tools/schemas/atmos/atmos-manifest/1.0/atmos-manifest.json
vars:
project: "[[ .Config.project_name ]]"
region: "[[ .Config.region ]]"
# Pin the toolchain for every component. `dependencies.tools` is the current,
# integrated way to declare required tool versions (installed/resolved by
# `atmos toolchain` and recorded in toolchain.lock.yaml).
# https://atmos.tools/cli/commands/toolchain
dependencies:
tools:
# `terraform_command` selects the invoked binary (see atmos.yaml); the toolchain
# registry key differs for OpenTofu (`opentofu`, not the `tofu` binary name).
'[[ if eq .Config.terraform_command "tofu" ]]opentofu[[ else ]]terraform[[ end ]]': "latest"
components:
emulator:
aws:
driver: floci/aws
region: "[[ .Config.region ]]"
container:
image: mirror.gcr.io/floci/floci@sha256:c88ec20bf221630dd195d38a14eeb0ac52ddfa72c37ebb3c8aa17f63ae27c5f2
ports:
- host: 14566
container: 4566
terraform:
app:
vars: {}