[英]AWS Cloudformation quick-create link is not reading parameters in URL
As per the documentation[1], I've created a quick-create link to create a simple stack in AWS cloud formation.根据文档[1],我创建了一个快速创建链接,用于在 AWS 云形成中创建一个简单的堆栈。 The stack configuration YAML file is hosted on s3[2].
堆栈配置 YAML 文件托管在 s3[2] 上。 It creates a stack required as part of an onboarding process for a new developer tool I'm building[3].
它创建了一个堆栈,作为我正在构建的新开发人员工具的入职流程的一部分 [3]。
I am using the following link:我正在使用以下链接:
https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/new?stackName=CBill-slack-bot¶m_UserId=1¶m_VersionToken=TL3K3DK3K:R2D2H001&templateURL=https://s3.eu-west-2.amazonaws.com/cbill-stack-files/CBillReadOnlyAndBillingRole-TL3K3DK3K_R2D2H00F
https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/new?stackName=CBill-slack-bot¶m_UserId=1¶m_VersionToken=TL3K3DK3K:R2D2H001&templateURL=https://s3.eu -west-2.amazonaws.com/cbill-stack-files/CBillReadOnlyAndBillingRole-TL3K3DK3K_R2D2H00F
However, the parameters UserId
and VersionToken
are not being populated when I click the link.但是,当我单击链接时,没有填充参数
UserId
和VersionToken
。
I've gone thoroughly through the documentation and have tested different tweaks for a few hours without success.我已经彻底阅读了文档并测试了几个小时的不同调整但没有成功。 The last thing to test would be to convert my YAML file to JSON and see if it works (although that would take me a while).
最后要测试的是将我的 YAML 文件转换为 JSON 并查看它是否有效(尽管这需要我一段时间)。 Any help would be appreciated.
任何帮助,将不胜感激。
1: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stacks-quick-create-links.html 1: https : //docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stacks-quick-create-links.html
2: https://s3.eu-west-2.amazonaws.com/cbill-stack-files/CBillReadOnlyAndBillingRole-TL3K3DK3K_R2D2H00F 2: https : //s3.eu-west-2.amazonaws.com/cbill-stack-files/CBillReadOnlyAndBillingRole-TL3K3DK3K_R2D2H00F
Your quick create URL is a bit different from the example given in the docs.您的快速创建 URL 与文档中给出的示例略有不同。 The part before the query parameters should be
stacks/create/review?
查询参数之前的部分应该是
stacks/create/review?
instead of stacks/new?
而不是
stacks/new?
The following link should work:以下链接应该有效:
https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/create/review?stackName=CBill-slack-bot¶m_UserId=1¶m_VersionToken=TL3K3DK3K:R2D2H001&templateURL=https://s3.eu-west-2.amazonaws.com/cbill-stack-files/CBillReadOnlyAndBillingRole-TL3K3DK3K_R2D2H00F https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/create/review?stackName=CBill-slack-bot¶m_UserId=1¶m_VersionToken=TL3K3DK3K:R2D2H001&templateURL=https://s3 .eu-west-2.amazonaws.com/cbill-stack-files/CBillReadOnlyAndBillingRole-TL3K3DK3K_R2D2H00F
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.