我得到了错误:
$ 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
发布于 2019-11-23 06:33:40
更新堆栈似乎不会更新堆栈参数的默认值。如果要更新默认值,则需要重命名参数,然后更新堆栈。一旦成功,您可以立即将该参数重新命名。
https://stackoverflow.com/questions/51918238
复制相似问题