https://pulumi.com logo
#general
Title
# general
a

average-dream-51210

06/08/2019, 1:00 AM
I thought it came from the stack name. I deleted the stack and recreated a 'develop' but /stage is still being appended to the api gateway endpoint url
w

white-balloon-205

06/08/2019, 1:06 AM
That is the default
stageName
for API Gateway. You can configure the name, but there is no way to get a raw url without path with vanilla API Gateway - you need to provide your own DNS name, certs, and path mapping to accomplish that.
a

average-dream-51210

06/08/2019, 1:09 AM
Ah! Okay thanks!
b

big-piano-35669

06/09/2019, 3:03 PM
By the way, if you're up for the task, https://github.com/pulumi/pulumi-awsx/issues/265 contains a code sample for how to accomplish this.
a

average-dream-51210

06/09/2019, 8:33 PM
Nice, thanks!