serverless-application-model
serverless-application-model copied to clipboard
Usage Plan throws dependancy error even when DependsOn is present in the template
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 ?
same as issue https://github.com/awslabs/serverless-application-model/issues/32, so closing