Skip to content

Commit e2d21fc

Browse files
authored
Remove the build-image default cleanup role trust policy condition (#6926)
1 parent e3caf6e commit e2d21fc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cli/src/pcluster/imagebuilder_utils.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,6 @@ def ensure_default_build_image_stack_cleanup_role(
192192
"Effect": "Allow",
193193
"Principal": {"Service": "lambda.amazonaws.com"},
194194
"Action": "sts:AssumeRole",
195-
"Condition": {
196-
"ArnLike": {
197-
"aws:SourceArn": f"arn:{partition}:lambda:*:{account_id}:function:ParallelClusterImage-*"
198-
}
199-
},
200195
}
201196
],
202197
}

0 commit comments

Comments
 (0)