Skip to content

Same IAM role name is generated for every stage #10

@orthanc

Description

@orthanc

Current Behavior

When the same serverless file is deployed to multiple stages in the same AWS account, use of this plugin fails because the IAM role is the same for the same pipe deployed in multiple stages (e.g. test / staging / production)

Expected Behavior

The IAM role would have a unique name for each stage so that it was possible to deploy multiple stages

Steps to Reproduce the Problem

  1. use this plugin to define a pipe
  2. deploy with npx serverless deploy --stage test
  3. deploy with npx serverless deploy --stage staging
  4. Stack fails to deploy as IAM role for the pipe already exists

Environment

  • Version: v1.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions