The below error was raised when the CloudFormation template deploys the proxy integration API.
CREATE_FAILED  AWS::ApiGateway::Deployment  SomeDeployment The REST API doesn't contain any methods (Service:BadRequestException; Request ID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx; Proxy: null)
The reason for this is that DependsOn attribute needs in AWS:ApiGateway:Deployment because AWS:ApiGateway:Method should be created before creating the deployment.
Should we always write DependsOn attribute?
 

 
    
Top comments (0)