aws-cloudformation - AWS CLI : Windows CLI -- SSLError: [Errno 2] No such file or directory

标签 aws-cloudformation aws-cli

我尝试在 Windows AWS CLI 上使用以下命令创建堆栈

aws cloudformation create-stack --stack-name dockerApp --template-body file://./stack.json`

这里是stack.json包含我的模板定义

我收到以下错误:

Error parsing parameter '--template-body': Unable to load paramfile file://./stack.json: [Errno 2] No such file or directory: u'/./stack.json'

最佳答案

以管理员身份打开命令提示符并执行以下命令

复制“c:\Program Files\Amazon\AWSCLI\botocore\vendored\requests\cacert.pem”“c:\Program Files\Amazon\AWSCLI\certifi”

欲了解更多信息,请访问aws-cli-issue

关于aws-cloudformation - AWS CLI : Windows CLI -- SSLError: [Errno 2] No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56375789/

相关文章:

amazon-web-services - AWS S3 生命周期规则未转换为 Glacier,不确定问题是什么?

amazon-web-services - 使用 AWS CLI 将嵌套目录上传到 S3?

amazon-web-services - AWS Cloudformation 模板条件和自动扩展配置

amazon-web-services - 有没有办法在AWS cloudformation中配置嵌套堆栈的 'Stack Name'?

amazon-web-services - 如何通过 CloudFormation 将 Api Gateway 与 Step Functions 集成

amazon-web-services - 如何使用 AWS CLI 从 EBS 快照创建 AMI

bash - aws s3 cli 与实时观看文件夹同步

aws-cloudformation - 如何通过 AWS Cli 获取 AWS service Catalog 预置产品事件输出部分详细信息

amazon-ec2 - 如何使用 boto3 authorize_security_group_ingress 在非默认 VPC 中的两个安全组之间添加规则

aws-lambda - 代码管道: Read data from previous step