File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
terraform/modules/department Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -943,27 +943,12 @@ resource "aws_iam_policy" "department_ecs_passrole" {
943943
944944# Todo: departments should probably have their own log groups
945945# but this is equivalent to the existing Glue set up
946- data "aws_iam_policy_document" "ecs_cloudwatch" {
947- statement {
948- effect = " Allow"
949- actions = [
950- " logs:PutLogEvents" ,
951- " logs:CreateLogStream" ,
952- " logs:CreateLogGroup" ,
953- " logs:AssociateKmsKey"
954- ]
955- resources = [
956- " arn:aws:logs:*:*:/ecs/*"
957- ]
958- }
959- }
960946
961947data "aws_iam_policy_document" "ecs_department_policy" {
962948 source_policy_documents = [
963949 data . aws_iam_policy_document . s3_department_access . json ,
964950 data . aws_iam_policy_document . secrets_manager_read_only . json ,
965951 data . aws_iam_policy_document . read_glue_scripts_and_mwaa_and_athena . json ,
966- data . aws_iam_policy_document . ecs_cloudwatch . json ,
967952 data . aws_iam_policy_document . crawler_can_access_jdbc_connection . json
968953 ]
969954}
You can’t perform that action at this time.
0 commit comments