Skip to content

random keepers: terraform state to keep state#32

Merged
davidcheung merged 1 commit into
masterfrom
random-secret-keeper
Apr 30, 2020
Merged

random keepers: terraform state to keep state#32
davidcheung merged 1 commit into
masterfrom
random-secret-keeper

Conversation

@davidcheung

@davidcheung davidcheung commented Apr 29, 2020

Copy link
Copy Markdown
Contributor

I'm still testing this, i tried it and couldnt seem to get it to work...
I'm wondering if its the way "${data.aws_secretsmanager_secret_version..secret_strirds_master_secretng}" is read, it always thinks its new (maybe it doesnt keep a state of it?) , or maybe i did something wrong

@davidcheung davidcheung requested a review from bmonkman April 29, 2020 22:57
@bmonkman

Copy link
Copy Markdown
Contributor

So you have applied that multiple times and it still keeps generating new ones?

Comment thread terraform/modules/database/main.tf Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So you have applied that multiple times and it still keeps generating new ones?

@bmonkman yeah, i have finally been able to pin point the problem, its the depends_on
not sure I understand why though

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

and i added it trying to solve the initial creation where it errors out saying
AWSCURRENT version not found or something along the lines of that

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.

That shouldn't require depends_on because the line above it already creates an explicit dependency. Weird that it would cause (or fix) any problems though...

@davidcheung davidcheung force-pushed the random-secret-keeper branch from ffa318f to bb52188 Compare April 30, 2020 00:19
@davidcheung davidcheung merged commit 731ae8b into master Apr 30, 2020
@davidcheung davidcheung deleted the random-secret-keeper branch April 30, 2020 00:20
bmonkman pushed a commit that referenced this pull request Oct 10, 2020
random keepers: terraform state to keep state
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