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

stocky-father-68249

09/05/2022, 1:08 PM
I'm trying to create a
stage
in an API Gateway in AWS using
stage = aws.apigatewayv2.Stage("$default", api_id=checkout_api.id)
But I'm being presented with an error saying,
Copy code
aws:apigatewayv2:Stage ($default):
    error: 1 error occurred:
        * creating API Gateway v2 stage: BadRequestException: Stage name only allows a-zA-Z0-9_
But I'm able to create it using the console. Any idea how to circumnavigate this?
b

billowy-laptop-50664

09/05/2022, 5:16 PM
You have a
$
in the name ie
$default