Skip to content

Commit

Permalink
chore: enable feature flags on all integ tests (#13133)
Browse files Browse the repository at this point in the history
This is the final part of the work started out in 200d52e.

Most feature flags will be expired in CDKv2 and their 'enabled'
behaviour made the default.
To keep the divergence between the two branches (`master` and
`v2-main`) to a minimum, update all integration tests to have the
flags enabled.

If the flag needs to be different for any specific test, it can be
overridden when constructing the `App` object.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
Niranjan Jayakar authored Feb 18, 2021
1 parent f7a426d commit 1ce7df8
Show file tree
Hide file tree
Showing 43 changed files with 104 additions and 108 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/app-delivery/test/integ.cicd.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -467,4 +467,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -171,4 +171,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -163,4 +163,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -220,4 +220,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -215,4 +215,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -392,7 +392,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -460,7 +460,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -573,7 +573,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -1302,7 +1302,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -1521,7 +1521,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -340,7 +340,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -339,7 +339,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -264,7 +264,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -482,4 +482,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -383,7 +383,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -485,4 +485,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -392,7 +392,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -515,7 +515,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -195,7 +195,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -556,7 +556,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -362,7 +362,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -620,7 +620,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -382,7 +382,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -257,7 +257,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -470,4 +470,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -340,7 +340,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Expand Down Expand Up @@ -548,4 +548,4 @@
}
}
}
}
}
Loading

0 comments on commit 1ce7df8

Please sign in to comment.