Skip to content

Conversation

@nija-at
Copy link
Contributor

@nija-at nija-at commented Jan 28, 2021

This reverts commit 96cbe32.

The above commit changed the logical id layout of API keys. It turns out
that ApiKey resources cannot be replaced without explicitly
specifying, and changing, the API key name.

See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-name

fixes #12698


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@nija-at nija-at added the pr/do-not-merge This PR should not be merged at this time. label Jan 28, 2021
@nija-at nija-at requested a review from a team January 28, 2021 10:31
@nija-at nija-at self-assigned this Jan 28, 2021
@gitpod-io
Copy link

gitpod-io bot commented Jan 28, 2021

@github-actions github-actions bot added the @aws-cdk/aws-apigateway Related to Amazon API Gateway label Jan 28, 2021
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jan 28, 2021
@nija-at nija-at marked this pull request as draft January 28, 2021 10:32
This reverts commit 96cbe32.

The above commit changed the logical id layout of API keys. It turns out
that ApiKey resource types cannot be replaced without explicitly
specifying and changing the API key name.

See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-name

fixes #12698
@nija-at nija-at changed the base branch from release to master January 28, 2021 10:35
@nija-at nija-at removed the pr/do-not-merge This PR should not be merged at this time. label Jan 28, 2021
@nija-at nija-at marked this pull request as ready for review January 28, 2021 10:35
@mergify
Copy link
Contributor

mergify bot commented Jan 28, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@nija-at nija-at changed the title fix(apigateway): stack update fails to replace api key fix(apigateway): stack update fails to replace api ke Jan 28, 2021
@nija-at nija-at changed the title fix(apigateway): stack update fails to replace api ke fix(apigateway): stack update fails to replace api key Jan 28, 2021
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 4435bfb
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Jan 28, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit ffe7e42 into master Jan 28, 2021
@mergify mergify bot deleted the nija-at/apikey branch January 28, 2021 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/aws-apigateway Related to Amazon API Gateway contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(apigateway): [Wrong Logical ID for UsagePlanKeyResource] The cdk version 1.86.0 replaces the current settings usage plan with many API keys.

3 participants