Bart Palmowski
07/30/2025, 11:18 AM.atmos_stack is present but it does not exist for meAndriy Knysh (Cloud Posse)
07/30/2025, 12:54 PMskip_templates_processing - (boolean)
Skip template processing for the imported file. Can be used if the imported file uses Go templates that should not be interpreted by atmos. For example, sometimes configurations for components may pass Go template strings not intended for atmos.
ignore_missing_template_values - (boolean)
Ignore the missing template values in the imported file. Can be used if the imported file uses Go templates to configure external systems, e.g. Datadog. In this case, Atmos will process all template values that are provided in the context, and will skip the missing values in the templates for the external systems without throwing an error. The ignore_missing_template_values setting is different from skip_templates_processing in that skip_templates_processing skips the template processing completely in the imported file, while ignore_missing_template_values processes the templates using the values provided in the context and skips all the missing values
skip_if_missing - (boolean)
Set it to true to ignore the imported manifest if it does not exist, and don't throw an error. This is useful when generating Atmos manifests using other tools, but the imported files are not present yet at the generation time.Andriy Knysh (Cloud Posse)
07/30/2025, 12:55 PMimport:
- path: "catalog/something.yaml.tmpl" # Path to the imported file with the required .tmpl extension for Go templates
context:
foo: bar
baz: qux
skip_templates_processing: false
ignore_missing_template_values: false
skip_if_missing: false
- path: "catalog/something.yaml.tmpl"
context: {}
skip_templates_processing: false
ignore_missing_template_values: true
skip_if_missing: trueAndriy Knysh (Cloud Posse)
07/30/2025, 12:55 PMBart Palmowski
07/30/2025, 1:21 PMBart Palmowski
07/30/2025, 3:22 PM.atmos_stack is not present in the template?Bart Palmowski
07/30/2025, 3:25 PMBart Palmowski
07/30/2025, 3:25 PM$ atmos terraform plan gcp/vpc/shared/dev -s Platform
Error
invalid stack manifest 'catalog/gcp/vpc/macro.tmpl'
yaml: line 3: could not find expected ':'Andriy Knysh (Cloud Posse)
07/30/2025, 3:26 PMcatalog/gcp/vpc/macro.tmplBart Palmowski
07/30/2025, 3:33 PMcomponents:
terraform:
{{ range $e := list "dev" "stg" "prd" }}
gcp/vpc/shared/{{ $e }}:
backend:
gcs:
prefix: terraform/state/vpc/shared/{{ $e }}
providers:
[...]
metadata:
component: gcp/vpc
type: real
[...]
{{ if hasKey $ "vpc_name" }}
vpc_name: {{ $.vpc_name }}
{{ end }}
{{ if hasKey $ "host_project_id" }}
host_project_id: {{ $.host_project_id }}
{{ end }}
{{ if hasKey $ "disable_compute_engine_api_on_destroy" }}
disable_compute_engine_api_on_destroy: {{ $.disable_compute_engine_api_on_destroy }}
{{ end }}
env: {{ $e }}
groups: !terraform.output gcp/folder org {{ $e }}_groups
{{ if hasKey $ "labels" }}
labels: {{ $.labels }}
{{ end }}
{{ end }}