You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,3 +17,7 @@ To use this project run `make init`
17
17
To verify it all worked, run `aws s3 ls s3://${TF_BUCKET}/tfstate-backend/terraform.tfstate` it should display the `terraform.tfstate` file and date when it was created.
18
18
19
19
You can overwrite where this module stores its state file by setting `TF_STATE_KEY` when running `make init`
20
+
21
+
### IAM
22
+
23
+
It might be useful to you to generate an IAM policy which grants access to the state backend and dynamodb table. This policy can be attached to users or roles. Additionally this module exposes an output called `tfstate_backend_access_policy_json` which contains the policy document. The `tfstate_backend_access_policy_arn` output contains the created IAM policy ARN.
0 commit comments