Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon cloudformation 如何使用cludformation更新秘密字符串?_Amazon Cloudformation_Aws Secrets Manager_Aws Cloudformation Custom Resource - Fatal编程技术网

Amazon cloudformation 如何使用cludformation更新秘密字符串?

Amazon cloudformation 如何使用cludformation更新秘密字符串?,amazon-cloudformation,aws-secrets-manager,aws-cloudformation-custom-resource,Amazon Cloudformation,Aws Secrets Manager,Aws Cloudformation Custom Resource,我是AWS cloudformation的新手,任何帮助都将不胜感激。 我有一个用例,我想写CFN来更新已经存在的秘密字符串。我能够找到一个CFN来创建一个秘密字符串,但不能更新 我看到AWS CLI有AWS secretsmanager更新机密--secret id我在Cloudformation中寻找类似的选项。使用cloud formation模板创建机密,但不是创建堆栈,而是使用更改集更新现有堆栈。 但要做到这一点,您必须知道在创建机密之前创建的堆栈名称 可能会使用之前使用的相同模板,只

我是AWS cloudformation的新手,任何帮助都将不胜感激。 我有一个用例,我想写CFN来更新已经存在的秘密字符串。我能够找到一个CFN来创建一个秘密字符串,但不能更新


我看到AWS CLI有
AWS secretsmanager更新机密--secret id
我在Cloudformation中寻找类似的选项。

使用cloud formation模板创建机密,但不是创建堆栈,而是使用更改集更新现有堆栈。 但要做到这一点,您必须知道在创建机密之前创建的堆栈名称

可能会使用之前使用的相同模板,只需更改值并更新堆栈即可