SAM cli template: how to specify 'staging' instead of 'Prod" in api gateway route?

0

I am playing witn sam init. Created hello world typescript example When deployed, it creates "/Prod/hello"

I want to speciify (in an .env if possible) the first segment as "staging" , "dev", "prod" ... instead of "Prod".

How can I change this prefix in sam cli template?

1 Resposta
0
profile pictureAWS
respondido há 2 meses
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas