We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6ab269 commit 63150d0Copy full SHA for 63150d0
terraform/bootstrap/jenkins.tf
@@ -31,6 +31,13 @@ data "aws_iam_policy_document" "terraform_backend_role_policy_document" {
31
actions = ["s3:*"]
32
resources = ["arn:aws:s3:::${module.bootstrap.state_bucket}/*"]
33
}
34
+
35
+ statement {
36
+ effect = "Allow"
37
38
+ actions = ["dynamodb:*"]
39
+ resources = ["arn:aws:dynamodb:${var.aws_region}:${data.aws_caller_identity.current.account_id}:table/${module.bootstrap.dynamodb_table}"]
40
+ }
41
42
43
resource "aws_iam_policy" "terraform_backend_role_policy" {
0 commit comments