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*
Niranjan Jayakar authored Feb 18, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f7a426d commit 1ce7df8
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
@@ -33,7 +33,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -467,4 +467,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -171,4 +171,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -163,4 +163,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -220,4 +220,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -215,4 +215,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -111,7 +111,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -392,7 +392,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -460,7 +460,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -573,7 +573,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -1302,7 +1302,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -1521,7 +1521,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -340,7 +340,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Original file line number Diff line number Diff line change
@@ -115,7 +115,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -339,7 +339,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -264,7 +264,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -482,4 +482,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -163,7 +163,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -383,7 +383,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -485,4 +485,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -392,7 +392,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -515,7 +515,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Original file line number Diff line number Diff line change
@@ -109,7 +109,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Original file line number Diff line number Diff line change
@@ -109,7 +109,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -195,7 +195,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -556,7 +556,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -362,7 +362,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -620,7 +620,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Original file line number Diff line number Diff line change
@@ -176,7 +176,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -382,7 +382,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -257,7 +257,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -470,4 +470,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -123,7 +123,7 @@
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -340,7 +340,7 @@
{
"Action": [
"s3:DeleteObject*",
"s3:PutObject*",
"s3:PutObject",
"s3:Abort*"
],
"Effect": "Allow",
@@ -548,4 +548,4 @@
}
}
}
}
}
Loading

0 comments on commit 1ce7df8

Please sign in to comment.