Skip to content

processed template in change set adds extra "Stage" stage #176

Closed

Description

@homingli

original template:

Resources:
  myApi:
    Type: AWS::Serverless::Api
    Properties:
      DefinitionUri: swagger.yml
      StageName: Prod
      Variables:
        LambdaFunctionName: !Ref myFunction

processed template:

"Resources": {
    "myApiDeploymentxxxxxxxxxx": {
      "Type": "AWS::ApiGateway::Deployment",
      "Properties": {
        "RestApiId": {
          "Ref": "myApi"
        },
        "Description": "RestApi deployment id:  <hash> ",
        "StageName": "Stage"
      }
    },
    "myApiProdStage": {
      "Type": "AWS::ApiGateway::Stage",
      "Properties": {
        "Variables": {
          "LambdaFunctionName": {
            "Ref": "myFunction"
          }
        },
        "RestApiId": {
          "Ref": "myApi"
        },
        "DeploymentId": {
          "Ref": "myApiDeployment0bcc95243b"
        },
        "StageName": "Prod"
      }
    },

Note "StageName": "Stage" and "StageName": "Prod" in the processed template.

Activity

  1. eelkevdbos commented on Aug 17, 2017

    @eelkevdbos

    +1

  2. panodk commented on Sep 2, 2017

    @panodk

    +1

  3. kashoory commented on Sep 15, 2017

    @kashoory

    +1

  4. zodeus commented on Sep 19, 2017

    @zodeus

    +1

  5. djn658 commented on Dec 6, 2017

    @djn658

    +1

  6. jarreds commented on Dec 7, 2017

    @jarreds

    +1. Would like to remove the extra surface area.

  7. jfuss commented on Dec 7, 2017

    @jfuss
    Contributor

    Yes we are aware of this.

    Closing in favor of #191

  8. JimLynchCodes commented on Jun 25, 2018

    @JimLynchCodes

    Still not fixed @jfuss? 😴😴😴

    Is the gorilla so big that he can't even move? :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions