Skip to content

Merge secret#14

Merged
davidcheung merged 2 commits intomasterfrom
merge-secret
Apr 21, 2020
Merged

Merge secret#14
davidcheung merged 2 commits intomasterfrom
merge-secret

Conversation

@davidcheung
Copy link
Copy Markdown
Contributor

secret names are unique and long-lived(soft delete) and
names are not reusable, so for development/shared env purposes it
will be nicer to have secrets use a name_prefix to avoid name conflicts

Note: originally secret was put in a separate TF state so the secrets
can be referenced by name only, but RDS does not support secret-manager

@davidcheung davidcheung requested review from bmonkman and trevoro April 20, 2020 20:23
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm we could have left this in the secrets section. It still might be beneficial to have that for secrets like this that we just want to put into secrets manager and forget about. I know it's another step and that's annoying, but we should be careful how many secrets get put into the TF state.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a default for this? Since it's really only for testing and not something that normal users should care about we should try to keep it under the hood as much as possible.

@davidcheung davidcheung force-pushed the merge-secret branch 2 times, most recently from 28bf305 to e6f125b Compare April 20, 2020 22:22
secret names are unique and long-lived(soft delete) and
names are not reusable, so for development/shared env purposes it
will be nicer to have secrets use a name_prefix to avoid name conflicts

Note: originally secret was put in a separate TF state so the secrets
can be referenced by name only, but RDS does not support secret-manager
@davidcheung davidcheung merged commit ff72c2f into master Apr 21, 2020
@davidcheung davidcheung deleted the merge-secret branch April 21, 2020 16:47
davidcheung added a commit that referenced this pull request Apr 21, 2020
while #14 was being merged, i made a non-declared reference which
broke the secret from being created
bmonkman pushed a commit that referenced this pull request Oct 10, 2020
bmonkman pushed a commit that referenced this pull request Oct 10, 2020
while #14 was being merged, i made a non-declared reference which
broke the secret from being created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants