aws: import buckets
jyecusch opened this issue · 4 comments
jyecusch commented
Allow existing buckets in the AWS account targeted by a stack to be adopted into a nitric stack. See the existing feature for importing secrets for reference.
- If the stack is torn down the bucket should be released, not destroyed.
- If the import directive is removed from the stack and then redeployed a new bucket should be created.
tjholm commented
Missing requirements for existing bucket replaced by an import directive. Behaviour with no extra logic would be:
- If an existing bucket is replaced by an import the existing bucket should be replaced and deleted iff it is empty, otherwise fail
tjholm commented
Currently waiting on new tagging implementation before proceeding with this.
tjholm commented
Implemented, but only currently for same region buckets. Running into an issue where I can't invoke bucket lookups in different regions even when creating a provider in that region.