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 5e9b190 commit d3f4866Copy full SHA for d3f4866
modules/services/cloud-connector-ecs/permissions.tf
@@ -135,14 +135,14 @@ data "aws_iam_policy_document" "task_definition_reader" {
135
136
# image scanning - ecr
137
resource "aws_iam_role_policy" "ecr_reader" {
138
- count = local.deploy_image_scanning_with_codebuild ? 1 : 0
+ count = local.deploy_image_scanning ? 1 : 0
139
name = "ECRReader"
140
role = local.ecs_task_role_id
141
policy = data.aws_iam_policy_document.ecr_reader[0].json
142
}
143
144
data "aws_iam_policy_document" "ecr_reader" {
145
146
statement {
147
effect = "Allow"
148
actions = [
0 commit comments