nitrictech / nitric

Nitric is a multi-language framework for cloud applications with infrastructure from code.

Home Page:https://nitric.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aws: import buckets

jyecusch opened this issue · comments

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.

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

Currently waiting on new tagging implementation before proceeding with this.

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.