Hello, how do you decomission/destroy something us...
# atmos
a
Hello, how do you decomission/destroy something using the catalog? Example: I have two dynamodb definition within a catalog, I applied them so they exists, later on I want to get rid of one of the dynamodb how do atmos notice that, I ran
atmos describe affected
but that does not catch that change 🤔 I think I have a related question but about the
terraform import
how is it handle?
p
usualy catalog is used for
custom values
for certain types of components
for example you can have a catalog file for s3 that has a bunch of s3 related component values but you do not want to repeat that every time you instantiate a s3 in your stacks
the catalog file are supposed to be
not deployable
meaning :
Copy code
metadata:
   type: abstract
so you destroy components in your stacks but not catalog files
the catalog gets merged with your
type: real
component so it is sort of template
What we use at Cloud Posse is a feature flag for enabled.
And setting
enabled
to
false
will effectively set the count to zero for resources.
👍 1
That's how we get a config-friendly way to do destruction of resources.