简体   繁体   English

cloudformation中的伪参数

[英]Pseudo parameter in cloudformation

I'm using the below simple template and trying to list the region in parameter section using Pseudo parameter AWS::Region, however getting the below error while trying to update the stack:我正在使用下面的简单模板并尝试使用伪参数 AWS::Region 在参数部分中列出区域,但是在尝试更新堆栈时出现以下错误:

Failed to retrieve external values

Image posted here [1]: https://i.stack.imgur.com/kUcoo.png此处发布的图片 [1]: https://i.stack.imgur.com/kUcoo.png

Nothing reporting on cloudtrail:没有关于 cloudtrail 的报告:

"responseElements": {
        "parameters": [
            {
                "parameterType": "List<AWS::Region>",
                "noEcho": false,
                "parameterKey": "S3"
            }

Below are my template details:以下是我的模板详细信息:

Parameters: 
 Region:
  Type: List<AWS::Region>
  Default: us-east-1

Resources:
###

Can someone give an advice.谁能给个建议。 Thanks in advance.提前致谢。

Its not possible .这是不可能的 You have to use CommaDelimitedList .您必须使用CommaDelimitedList

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM