Hi everyone. I’m trying to build an API Gateway Re...
# aws
b
Hi everyone. I’m trying to build an API Gateway RestApi. The problem that i am facing is that each file is trying (asynchronously) create a Resource/Method, without knowing if the path/resource already exist. E.g., someone creates
GET /path/abc
another creates
POST /path/abc
and another creates
GET /path/xyz
When Im trying to create them I don’t know if
path
(or
abc
) exists already or not. Pulumi’s documentation for
awsx.apigateway.API
shows that it receives the entire routes altogether, which I cannot do. and using
aws.apigateway.Resource
will fail if resource exists or not. Any thoughts?
cloudformation
allows the management of routes inside the Lambda declaration. Why is it not possible with Pulumi?