https://pulumi.com logo
#python
Title
# python
i

incalculable-sundown-82514

05/21/2019, 6:44 PM
You’re assuming that
apigateway.get_rest_api
returns None when the rest API isn’t found, but I think it’s more likely that it’ll throw an exception instead