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?
The stage name can be set using the StageName property:
StageName
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.html#sam-api-stagename
您未登录。 登录 发布回答。
一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。