我想cfn_client.update_stack()在我的 lambda 中使用。在這里,我必須訪問我的 S3 存盤桶中的 CF 模板。附加到 lambda 的 IAM 角色是正確的。我試過:
TemplateURL='s3://xxx/yyy/temp.yaml',
但它不起作用。模板是私有的,所以我不能使用Https://我假設的url?
我如何訪問模板,或者我必須從/tmplambda內部的存盤桶中下載模板并使用 運行它template-body?
uj5u.com熱心網友回復:
aws cloudformation 更新堆疊接受“https”。(至少來自 AWS boto3 檔案),https: //docs.aws.amazon.com/cli/latest/reference/cloudformation/update-stack.html#examples
我認為在您的情況下,您必須通過 https 訪問 lambda,或者只下載模板并使用 --template-body
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/403109.html
標籤:
