Skip to content

Commit

Permalink
Add Nag Suppressions on role level
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiswl committed Nov 1, 2024
1 parent 89b6b41 commit 8e9573a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class OraDecompressionConstruct extends Construct {
// "Effect": "Allow",
// "Resource": "*"
// },
NagSuppressions.addResourceSuppressions(taskDefinition, [
NagSuppressions.addResourceSuppressions(<iam.Role>taskDefinition.executionRole, [
{
id: 'AwsSolutions-IAM5',
reason: 'Fargate has GetAuthorizationToken permission on all resources by default',
Expand Down

0 comments on commit 8e9573a

Please sign in to comment.