jacob-meacham / serverless-plugin-bind-deployment-id

:link: Serverless plugin to bind the randomly generated deployment id to custom resources
MIT License
33 stars 7 forks source link

Examples are not working #3

Closed rochdev closed 7 years ago

rochdev commented 7 years ago

The provided examples doesn't work.

Using StageDescription in AWS::ApiGateway::Deployment results in a StageDescription cannot be specified when stage referenced by StageName already exists. error.

Using the AWS::ApiGateway::Stageresults in a An error occurred while provisioning your stack: ApiGatewayStage - dev already exists. error.

How to actually use this plugin?

rochdev commented 7 years ago

When I get it to not error out, it creates an __unused_stage__ stage besides the actual stage.

rochdev commented 7 years ago

According to AWS support center the correct way would be to completely remove the StageName from deployment instead of simply renaming it to a dummy value.

rochdev commented 7 years ago

Ok it seems the creation of an __unused_stage__ stage is the expected behavior. However, the example still contains a few errors meaning that it doesn't work as-is.

jacob-meacham commented 7 years ago

Fixed README to be more useful