File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
infrastructure/stacks/api-layer Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1- name : Manual Terraform Plan
1+ name : Manual Terraform Apply
22
33on :
44 workflow_dispatch :
6565 run : |
6666 mkdir -p ./build
6767 echo "Running: make terraform env=$ENVIRONMENT workspace=$WORKSPACE stack=networking tf-command=plan args=\"-auto-approve\""
68- make terraform env=$ENVIRONMENT stack=networking tf-command=plan workspace=$WORKSPACE
68+ make terraform env=$ENVIRONMENT stack=networking tf-command=apply workspace=$WORKSPACE
6969 echo "Running: make terraform env=$ENVIRONMENT workspace=$WORKSPACE stack=api-layer tf-command=plan args=\"-auto-approve\""
70- make terraform env=$ENVIRONMENT stack=api-layer tf-command=plan workspace=$WORKSPACE
70+ make terraform env=$ENVIRONMENT stack=api-layer tf-command=apply workspace=$WORKSPACE
7171
7272 working-directory : ./infrastructure
Original file line number Diff line number Diff line change @@ -150,7 +150,13 @@ data "aws_iam_policy_document" "dynamodb_kms_key_policy" {
150150 type = " AWS"
151151 identifiers = [aws_iam_role . eligibility_lambda_role . arn ]
152152 }
153- actions = [" kms:Decrypt" ]
153+ actions = [
154+ " kms:Encrypt" ,
155+ " kms:Decrypt" ,
156+ " kms:ReEncrypt*" ,
157+ " kms:GenerateDataKey*" ,
158+ " kms:DescribeKey"
159+ ]
154160 resources = [" *" ]
155161 }
156162}
You can’t perform that action at this time.
0 commit comments