Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the README.md to explicit the expected partition key in the dynamodb table #53

Closed
n-my opened this issue Nov 21, 2016 · 5 comments

Comments

@n-my
Copy link

n-my commented Nov 21, 2016

I've created the dynamodb table with Terraform and I've naively set the partition key as "state_file_id".
Terragrunt would not work because the expected partition key is StateFileId.

Let's update the README.md to make that explicit

@brikis98
Copy link
Member

Is there a reason you were creating the table manually? Terragrunt should do it for you automatically if the table doesn't already exist.

@n-my
Copy link
Author

n-my commented Nov 22, 2016

To be honest I just didn't see Terragrunt would create the table but I like the idea of having 100% of my AWS resources to be terraformed.

In the README.md I would just replace

2. Try to write an item to the terragrunt_locks table with state_file_id equal to the id specified in your .terragrunt file.

with

2. Try to write an item to the terragrunt_locks table with StateFileId equal to the state_file_id specified in your .terragrunt file.

@brikis98
Copy link
Member

Sure. Would you like to submit a PR for that?

@n-my
Copy link
Author

n-my commented Nov 24, 2016

Sure, I have submitted it.

@brikis98
Copy link
Member

Fixed via #58.

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

No branches or pull requests

2 participants