【发布时间】:2022-04-29 21:41:24
【问题描述】:
我得到错误:
$ aws cloudformation deploy --template-file ./packaged-stack.yml --stack-name mystackname --capabilities CAPABILITY_NAMED_IAM`
An error occurred (ValidationError) when calling the CreateChangeSet operation: Unable to fetch parameters [XXX] from parameter store for this account.
这里有什么问题?
奇怪的是XXX 是来自参数存储的值,因此 CloudFormation 实际上能够获取该值......但它似乎试图从名称为它得到的值的参数中读取...... .我觉得我的用法不对?
AWSTemplateFormatVersion : '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: '...'
Parameters:
BaseStack:
Type: AWS::SSM::Parameter::Value<String>
Default: /some/thing/baseStack
在本例中/some/thing/baseStack 中存储的值是XXX
【问题讨论】:
-
我遇到了同样的问题。你有办法解决这个问题吗?
标签: amazon-web-services amazon-cloudformation ssm