Feature Proposal
Description
I have an AWS::ApiGateway::Method that I think I need to specify manually in the Resources section. There doesn't seem to be a way to add this resource to the DependsOn list for the generated AWS::ApiGateway::Deployment ... because the ID for the deployment is generated, I can't put something in Resources and have it merged the way I can with other stack resources.
Because I can't make the deployment depend on the resource creation, the resource might not be created by the time the deployment starts, which means that the resource won't be available in my deployed API.
Proposal: allow specifying deployment.dependsOn: [resourceId...].
Sample configuration:
provider:
apigateway:
deployment:
dependsOn:
- resourceID1
- resourceID2
Related code:
|
DependsOn: this.apiGatewayMethodLogicalIds, |
Feature Proposal
Description
I have an AWS::ApiGateway::Method that I think I need to specify manually in the
Resourcessection. There doesn't seem to be a way to add this resource to theDependsOnlist for the generatedAWS::ApiGateway::Deployment... because the ID for the deployment is generated, I can't put something inResourcesand have it merged the way I can with other stack resources.Because I can't make the deployment depend on the resource creation, the resource might not be created by the time the deployment starts, which means that the resource won't be available in my deployed API.
Proposal: allow specifying
deployment.dependsOn: [resourceId...].Sample configuration:
Related code:
serverless/lib/plugins/aws/package/compile/events/apiGateway/lib/deployment.js
Line 20 in 3910df1