atmos icon indicating copy to clipboard operation
atmos copied to clipboard

`atmos terraform clean` does not expand templates

Open mss opened this issue 1 year ago • 0 comments

Describe the Bug

This is from our recent tests trying to upgrade to v1.160.2:

15:36:28  + atmos terraform clean wms-base --stack wms-za01-development
15:36:38  ERRO 'wms-base' points to the Terraform component '{{ .settings.version }}', but it does not exist in 'components/terraform'

I didn't debug it too much this time because I am in a hurry but the v1.160 release had a few patches now where templating had to be re-enabled for certain commands and I guess clean was forgotten.

Expected Behavior

atmos terraform clean should work

Steps to Reproduce

We use some templating in our components' metadata, I can add some examples later on.

Screenshots

No response

Environment

  • Version: 1.160.2

Additional Context

This is a regression introduced with v1.160.0, probably via #1023.

mss avatar Feb 10 '25 14:02 mss