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?

已提問 2 個月前檢視次數 49 次
1 個回答
0
profile pictureAWS
已回答 2 個月前
profile picture
專家
已審閱 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南