Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(apigateway): stack deployment fails when a Stage is explicitly specified #6165

Merged
merged 2 commits into from
Feb 7, 2020

Conversation

nija-at
Copy link
Contributor

@nija-at nija-at commented Feb 7, 2020

Per the documentation from CloudFormation, when an explicit
AWS::ApiGateway::Deployment resource is specified, it needs to contain
an explicit 'DependsOn' field declared to all of the
AWS::ApiGateway::Method resources that are part of the RestAPI.

Doc - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#aws-resource-apigateway-deployment--example

fixes #6068


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

…ecified

Per the documentation from CloudFormation, when an explicit
AWS::ApiGateway::Deployment resource is specified, it needs to contain
an explicit 'DependsOn' field declared to all of the
AWS::ApiGateway::Method resources that are part of the RestAPI.

Doc - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#aws-resource-apigateway-deployment--example

fixes #6068
@nija-at nija-at added the contribution/core This is a PR that came from AWS. label Feb 7, 2020
@nija-at nija-at self-assigned this Feb 7, 2020
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • 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 Feb 7, 2020

Thank you for contributing! Your pull request is now being automatically merged.

@mergify
Copy link
Contributor

mergify bot commented Feb 7, 2020

Thank you for contributing! Your pull request is now being automatically merged.

@mergify mergify bot merged commit 879601e into master Feb 7, 2020
@mergify mergify bot deleted the nija-at/apigateway-deploymentDependsOnMethod branch February 7, 2020 17:12
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API Gateway not working with custom Deployment/Stage resources
3 participants