Skip to content

Commit

Permalink
docs(pipelines): should use 'lookup' tag instead of 'deploy' tag (aws…
Browse files Browse the repository at this point in the history
…#15984)

The code example was using the wrong condition.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
rix0rrr authored and david-doyle-as24 committed Sep 7, 2021
1 parent 58d2a65 commit ad17dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/pipelines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ new CodePipeline(this, 'Pipeline', {
resources: ['*'],
conditions: {
StringEquals: {
'iam:ResourceTag/aws-cdk:bootstrap-role': 'deploy',
'iam:ResourceTag/aws-cdk:bootstrap-role': 'lookup',
},
},
}),
Expand Down

0 comments on commit ad17dd9

Please sign in to comment.