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
ログインしていません。 ログイン 回答を投稿する。
優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。