Skip to content

Commit

Permalink
fix(api-usage-plan): update cfn templates with api usage plan (#400)
Browse files Browse the repository at this point in the history
* fix(api-usage-plan): update cfn templates with api usage plan

* fix(api-usage-plan): update cfn templates with api usage plan
  • Loading branch information
hnishar authored Sep 27, 2021
1 parent 21f1f93 commit 57afba8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@
]
}
},
"testapigatewayiotRestApiUsagePlanUsagePlanKeyResource427DC49B": {
"testapigatewayiotRestApiUsagePlanUsagePlanKeyResourceoverrideParamstestapigatewayiotRestApiApiKey9DF117C022AD8BF0": {
"Type": "AWS::ApiGateway::UsagePlanKey",
"Properties": {
"KeyId": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@
]
}
},
"testapigatewayiotRestApiUsagePlanUsagePlanKeyResource427DC49B": {
"testapigatewayiotRestApiUsagePlanUsagePlanKeyResourceoverrideauthapikeystestapigatewayiotRestApiApiKey393D3E36B43FA58D": {
"Type": "AWS::ApiGateway::UsagePlanKey",
"Properties": {
"KeyId": {
Expand Down
3 changes: 2 additions & 1 deletion source/tools/cdk-integ-tools/bin/cdk-integ-assert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ async function main() {
// Enable Default KMS policy to match with CDK v2 expected KMS policy
let actual = await test.cdkSynthFast(deepmerge(DEFAULT_SYNTH_OPTIONS, {
context: {
'@aws-cdk/aws-kms:defaultKeyPolicies': true
'@aws-cdk/aws-kms:defaultKeyPolicies': true,
'@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId' : true
}
}));

Expand Down
3 changes: 2 additions & 1 deletion source/tools/cdk-integ-tools/bin/cdk-integ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ async function main() {
// Enable Default KMS policy to match with CDK v2 expected KMS policy
const actual = await test.cdkSynthFast(deepmerge(DEFAULT_SYNTH_OPTIONS, {
context: {
'@aws-cdk/aws-kms:defaultKeyPolicies': true
'@aws-cdk/aws-kms:defaultKeyPolicies': true,
'@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId' : true
}
}));

Expand Down

0 comments on commit 57afba8

Please sign in to comment.