Skip to content

Usage Plan throws dependancy error even when DependsOn is present in the template #97

Closed

Description

@senthil-nathan

usagePlan:
Type: AWS::ApiGateway::UsagePlan
DependsOn:
- "MyRestApi"
- "Prod"
Properties:
ApiStages:
- ApiId: !Ref 'MyRestApi'
Stage: !Ref 'Prod'
Description: Customer ABC's usage plan
Quota:
Limit: 5000
Period: MONTH
Throttle:
BurstLimit: 200
RateLimit: 100
UsagePlanName: Plan_ABC

As an example, I have the above in my SAM template. While deploying the template, I am getting:
Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: Circular dependency between resources: [usagePlan]

Any help ?

Activity

  1. senthil-nathan commented on Mar 15, 2017

    @senthil-nathan
    Author

    same as issue #32, so closing

  2. added a commit that references this issue on Apr 6, 2022
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