Why?
In dev environment, I don't care if some resources get destroyed or recreated. In other environments that may have data populated, such as UAT or Prod, I want to set them protected. Best practice is to set per environment values in the stack config file. I'm currently unable to do this because protect: appears to only accept a literal boolean, not an interpolated value. See
my comment and the following @Frassle 's comment in #453
Hello!
Issue details
I want to set
protect:
dynamically. Something like this.Why? In dev environment, I don't care if some resources get destroyed or recreated. In other environments that may have data populated, such as UAT or Prod, I want to set them protected. Best practice is to set per environment values in the stack config file. I'm currently unable to do this because
protect:
appears to only accept a literal boolean, not an interpolated value. See my comment and the following @Frassle 's comment in #453Affected area/feature