serverless-application-model icon indicating copy to clipboard operation
serverless-application-model copied to clipboard

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

Open senthil-nathan opened this issue 9 years ago • 1 comments

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 ?

senthil-nathan avatar Feb 27 '17 02:02 senthil-nathan

same as issue https://github.com/awslabs/serverless-application-model/issues/32, so closing

senthil-nathan avatar Mar 15 '17 00:03 senthil-nathan