Skip to content

Commit

Permalink
Skip autonaming for stages
Browse files Browse the repository at this point in the history
These names only have to be unique within the API. Skipping autonaming makes the created name and therefore URL predictable.
  • Loading branch information
danielrbradley committed Nov 27, 2023
1 parent 84e5f21 commit e51205a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions awsx/apigatewayv2/httpApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ export function buildHttpApi(parent: pulumi.Resource, name: string, args: schema
`${name}-${stageKey}`,
{
apiId: api.id,
name: stageKey,
...stageInput,
},
{ parent },
Expand Down

0 comments on commit e51205a

Please sign in to comment.