Skip to content

Commit b781801

Browse files
authored
Merge branch 'main' into 21197-simplify-openidconnect-provider
2 parents e04a40a + bfa6490 commit b781801

File tree

467 files changed

+36156
-3434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

467 files changed

+36156
-3434
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ Closes #<issue number here>.
1010

1111
<!--
1212
What code changes did you make?
13-
Have you made any important design decisions?
14-
What AWS use cases does this change enable? To enable the use cases, which AWS service features are utilized?
13+
Why do these changes address the issue?
14+
What alternatives did you consider and reject?
15+
What design decisions have you made?
1516
-->
1617

1718
### Describe any new or updated permissions being added
1819

19-
<!-- What new or updated IAM permissions are needed to support the changes being introduced ? -->
20+
<!-- What new or updated IAM permissions are needed to support the changes being introduced? -->
2021

2122

2223
### Description of how you validated changes
2324

24-
<!--Have you added any unit tests and/or integration tests?-->
25+
<!-- Have you added any unit tests and/or integration tests? Did you test by hand? -->
2526

2627
### Checklist
2728
- [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

packages/@aws-cdk-testing/framework-integ/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@aws-cdk/lambda-layer-kubectl-v31": "^2.1.0",
4848
"@aws-cdk/lambda-layer-kubectl-v32": "^2.1.0",
4949
"aws-cdk-lib": "0.0.0",
50-
"cdk8s": "2.69.70",
50+
"cdk8s": "2.69.71",
5151
"cdk8s-plus-27": "2.9.5",
5252
"constructs": "^10.0.0"
5353
},

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.api-with-authorizer-and-proxy.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';
1010
* * `curl -i <CFN output PetsURL>` should return HTTP code 200
1111
*/
1212

13-
const app = new cdk.App();
13+
const app = new cdk.App({
14+
postCliContext: {
15+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
16+
},
17+
});
1418
const stack = new cdk.Stack(app, 'integtest-restapi-with-authorizer-and-proxy');
1519

1620
// create a cognito user pool

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.request-authorizer.lit.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import { STANDARD_NODEJS_RUNTIME } from '../../../config';
99
// `curl -s -o /dev/null -w "%{http_code}" -H 'Authorization: deny' <url>?allow=yes` should return 403
1010
// `curl -s -o /dev/null -w "%{http_code}" -H 'Authorization: allow' <url>?allow=yes` should return 200
1111

12-
const app = new App();
12+
const app = new App({
13+
postCliContext: {
14+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
15+
},
16+
});
1317
const stack = new Stack(app, 'RequestAuthorizerInteg');
1418

1519
const authorizerFn = new lambda.Function(stack, 'MyAuthorizerFunction', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer-iam-role.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { STANDARD_NODEJS_RUNTIME } from '../../../config';
1313
* * `curl -s -o /dev/null -w "%{http_code}" -H 'Authorization: allow' <url>` should return 200
1414
*/
1515

16-
const app = new App();
16+
const app = new App({
17+
postCliContext: {
18+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
19+
},
20+
});
1721
const stack = new Stack(app, 'TokenAuthorizerIAMRoleInteg');
1822

1923
const authorizerFn = new lambda.Function(stack, 'MyAuthorizerFunction', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import { IntegTest, ExpectedResult, Match } from '@aws-cdk/integ-tests-alpha';
55
import { MockIntegration, PassthroughBehavior, RestApi, TokenAuthorizer, Cors } from 'aws-cdk-lib/aws-apigateway';
66
import { STANDARD_NODEJS_RUNTIME } from '../../../config';
77

8-
const app = new App();
8+
const app = new App({
9+
postCliContext: {
10+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
11+
},
12+
});
913
const stack = new Stack(app, 'TokenAuthorizerInteg');
1014

1115
const authorizerFn = new lambda.Function(stack, 'MyAuthorizerFunction', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.cors-allow-multiple-origins.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ import { App, Stack } from 'aws-cdk-lib';
44
import { IntegTest } from '@aws-cdk/integ-tests-alpha';
55
import * as apigw from 'aws-cdk-lib/aws-apigateway';
66

7-
const app = new App();
7+
const app = new App({
8+
postCliContext: {
9+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
10+
},
11+
});
812
const stack = new Stack(app, 'stack-cors-allow-multiple-origins');
913

1014
const api = new apigw.RestApi(stack, 'cors-api-test', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.cors.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ class TestStack extends Stack {
3030
}
3131
}
3232

33-
const app = new App();
33+
const app = new App({
34+
postCliContext: {
35+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
36+
},
37+
});
3438
const testCase = new TestStack(app, 'cors-twitch-test');
3539
new IntegTest(app, 'cors', {
3640
testCases: [testCase],

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.lambda-api-nonproxy.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ class LambdaApiIntegrationOptionsNonProxyIntegrationStack extends Stack {
3434
}
3535
}
3636

37-
const app = new App();
37+
const app = new App({
38+
postCliContext: {
39+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
40+
},
41+
});
3842
const testCase = new LambdaApiIntegrationOptionsNonProxyIntegrationStack(app);
3943
new IntegTest(app, 'lambda-non-proxy-integration', {
4044
testCases: [testCase],

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.lambda-api.latebound-deploymentstage.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ class LateBoundDeploymentStageStack extends Stack {
2929
}
3030
}
3131

32-
const app = new App();
32+
const app = new App({
33+
postCliContext: {
34+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
35+
},
36+
});
3337
const testCase = new LateBoundDeploymentStageStack(app);
3438
new IntegTest(app, 'lambda-api-latebound-deploymentstage', {
3539
testCases: [testCase],

0 commit comments

Comments
 (0)