Skip to content

Commit 1279ca3

Browse files
authored
[PRME-73] feature flag add permission to SSM for upload pilot (#389)
1 parent 8fe7776 commit 1279ca3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

infrastructure/lambda-document-status-check-result.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ module "document-status-check-lambda" {
5757
handler = "handlers.document_status_check_handler.lambda_handler"
5858
iam_role_policy_documents = [
5959
module.ndr-app-config.app_config_policy,
60+
aws_iam_policy.ssm_access_policy.policy,
6061
module.document_reference_dynamodb_table.dynamodb_read_policy_document,
6162
module.document_reference_dynamodb_table.dynamodb_write_policy_document,
6263
module.lloyd_george_reference_dynamodb_table.dynamodb_read_policy_document,

infrastructure/lambda-feature-flags.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ module "feature-flags-lambda" {
5656
name = "FeatureFlagsLambda"
5757
handler = "handlers.feature_flags_handler.lambda_handler"
5858
iam_role_policy_documents = [
59-
module.ndr-app-config.app_config_policy
59+
module.ndr-app-config.app_config_policy,
60+
aws_iam_policy.ssm_access_policy.policy,
6061
]
6162
rest_api_id = aws_api_gateway_rest_api.ndr_doc_store_api.id
6263
resource_id = module.feature-flags-gateway.gateway_resource_id

0 commit comments

Comments
 (0)