atmos docs generate is a game changer! used it for a new project and it works amazing!!literal should be working here:field_template: !literal |
{%- if alertDef.entityLabels.channel is defined -%}
{{ alertDef.entityLabels.channel }}
{%- else -%}
_sandbox
{%- endif -%}*Error:* template: templates-all-atmos-sections:624: function "alertDef" not defined, is there something wrong with my usage or a bug?1.210.0 & 1.216.0Preserve Directory Hierarchy in Terraform State Buckets. Yeah! For weeks, I've been telling myself I need to report that I have to override all components manually because it doesn't preserve the /. A small feature, but very valuable. Thanks :).settings:templates:settings:gomplate:datasources:env:url: "stacks/data/{{ .vars.environment }}.yaml"ami: '{{{{ (index (datasource "env").ami .vars.aws_region) }}}}'aws_region contains directly a string value but is not working if it reference another variable, for example aws_region: {{ .vars.region }}aws_region should be resolved to the actual value of region and ami to '{{ (index (datasource "env").ami .vars.aws_region) }}' so in the second evaluation it should be evaluated correctly with the value originally contained into region.atmos !terraform.state YAML function to lookup outputs in the older terraform root modules.dummy component that essentially only contains a context.tf could I then setup a stack that points to the older root modules where each component inherits from dummy but then specifies it's backend to make !terrafofrm.state work. To my surprise this actually works amazingly well!dummy instances actually looks like (bogus account id swapped in):components:
terraform:
vpc/us-east-1-development:
metadata:
enabled: false
terraform_workspace: "default"
component: dummy
name: vpc/us-east-1-development
backend:
s3:
key: infra/terraform/123456789012/vpc/us-east-1-development/terraform.tfstate vars:
vpc_id: !terraform.state vpc/us-east-1-development vpc_idatmosmetadata.enabled is very cool cause that ensures my CI/CD does not try to plan/apply this dummy component as well!Makefile deprecated?atmos terraform destroy with GitHub Actions.yaml files gets created.atmos generate and it seems it can't be specified under the global terraform key (like backend or providers). Am I missing something or is there a reason it must only be specified under a component?terraform fmt and realized that GitHub Actions won't run on those changes? GitHub does this as a circuit-breaker to prevent commit loops.atmos pro commit https://atmos.tools/changelog/pro-commit๐งช ci is an experimental feature. Learn more <https://atmos.tools/experimental>
WARN CI hook handler failed event=after.terraform.plan
error=
โ failed to upload planfile: failed to upload planfile: not implemented: GitHub Artifacts upload requires running within GitHub Actions (ACTIONS_RUNTIME_TOKEN and ACTIONS_RESULTS_URL must be set)
โ (1) forced error mark
โ | "failed to upload planfile"
โ | errors/*errors.errorString::
โ Wraps: (2) key=dev-primary/argocd-apps/0509682841e9b66922a344abd606567815703ad3.tfplan.tar store=github/artifacts
โ Wraps: (3) Failed to upload planfile to store
โ Wraps: (4) failed to upload planfile: failed to upload planfile: not implemented: GitHub Artifacts upload requires running within GitHub Actions (ACTIONS_RUNTIME_TOKEN and ACTIONS_RESULTS_URL must be set)
โ โโ Wraps: (5) failed to upload planfile: not implemented: GitHub Artifacts upload requires running within GitHub Actions (ACTIONS_RUNTIME_TOKEN and ACTIONS_RESULTS_URL must be set)
โ โโ Wraps: (6) not implemented: GitHub Artifacts upload requires running within GitHub Actions (ACTIONS_RUNTIME_TOKEN and ACTIONS_RESULTS_URL must be set)
โ โโ Wraps: (7) not implemented
โ โโ Wraps: (8) failed to upload planfile
โ โโ Wraps: (9) failed to upload planfile
โ Error types: (1) *markers.withMark (2) *safedetails.withSafeDetails (3) *hintdetail.withDetail (4) *fmt.wrapErrors (5) *fmt.wrapErrors (6) *fmt.wrapError (7) *errors.errorString (8) *errors.errorString (9) *errors.errorString
โน Executing command: atmos terraform apply argocd-apps --from-plan -auto-approve
๐งช ci is an experimental feature. Learn more <https://atmos.tools/experimental>aws-ssosync setup, and I I see you all recently released v2.0.0.github-action-atmos-terraform-plan in a github actions pipeline that deploys resources to Google Cloud but it fails because it seems to only supports AWS authentication:Run aws-actions/configure-aws-credentials@v4.0.2
Error: Source Account ID is needed if the Role Name is provided and not the Role Arn.dependencies:
tools:
atmos: 1.214.0
terraform: 1.14.2
tflint: 0.61.0github-action-setup-atmos since it's way more performant.ci.comments is there a ENV to disable this?ATMOS_COMMENTS_ENABLED=FALSE