sparse-intern-71089
10/24/2018, 2:26 PMwhite-balloon-205
Deployment
resource to get replaced to ensure a new deployment of the API is done when there are changes.
We implement the necessary logic for this here: https://github.com/pulumi/pulumi-aws/blob/master/sdk/nodejs/apigateway/experimental/api.ts#L220
Note that you likely can just use that aws.apigateway.x.API
implementation to get this behavior “for free”. It supports both passing Swagger explicitly as well as passing a simpler list of routes.eager-area-86739
10/24/2018, 3:52 PMDeployment
resource to be deployed? Given that I'm using pulumi up --yes
in the CI/CD pipeline, I need to instruct it on my index.js
file.eager-area-86739
10/24/2018, 4:25 PMRestApi
to the x.API
class, given that I'm creating the rest of the resourceswhite-balloon-205
pulumi update
.eager-area-86739
10/24/2018, 4:29 PM<https://gist.github.com/joaoasrosa/d193d837044ea157b8e2eda4ac1ad798>
eager-area-86739
10/24/2018, 4:30 PMeager-area-86739
10/24/2018, 4:30 PMeager-area-86739
10/24/2018, 4:30 PMvariables: {
version: swaggerString.apply(sha1hash),
}