amazon-web-services - AWS Cloudformation 嵌套堆栈部署模板路径

标签 amazon-web-services aws-cloudformation nested-stack

我正在尝试使用命令部署嵌套堆栈

aws cloudformation deploy --stack-name "${STACK_NAME}" --template-file "${S3_ROOT_TEMPLATE}" --parameter-overrides ${PARAMS[@]} --region ${REGION}

但是尽管S3_ROOT_TEMPLATE有了正确的网址,我收到错误

Invalid template path https://<s3-bucket-name>.s3.us-east-2.amazonaws.com/sm-domain-templates/main_stack.yaml

知道上面有什么问题吗?

最佳答案

尽管在控制台中您必须使用 S3 路径,但在 awscli 命令中,它需要根堆栈文件的本地文件路径

关于amazon-web-services - AWS Cloudformation 嵌套堆栈部署模板路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74188800/

相关文章:

php - file_put_contents() : connect() failed: Permission denied in AWS server

aws-cloudformation - cdk : Importing the output of an unrelated different stack

aws-cloudformation - UsePreviousTemplate(在 CloudFormation UpdateStack 中)可以与嵌套堆栈一起使用

linux - mongodb远程连接问题

javascript - 如何使用 amazon-javascript-sdk 列出 AWS S3 存储桶?

amazon-web-services - 由 CloudFormation 模板创建时 EC2 实例状态检查失败

amazon-web-services - 如何使用 CloudFormation 将 SNS 主题指定为 CodeDeploy 部署组的触发器?

amazon-web-services - AWS CloudFormation NestedStack 与模块

amazon-web-services - 在嵌套堆栈中引用父堆栈的输出 - Cloudformation

ios - Amazon Rekognition 从流视频中检测名人