Amazon cloudformation AWS云形成输出模板
我创建了一个CFT模板,每次执行云形成时,我都会在输出中收到5个不同的用户名 范例Amazon cloudformation AWS云形成输出模板,amazon-cloudformation,Amazon Cloudformation,我创建了一个CFT模板,每次执行云形成时,我都会在输出中收到5个不同的用户名 范例 Output 1st attempt - test-drive-01@example.com 2nd attempt - test-drive-02@example.com upto 5 attempts - test-derive05@example.com Again on 6th attempt it should go back to test-drive-01@example.com "Outpu
Output
1st attempt - test-drive-01@example.com
2nd attempt - test-drive-02@example.com
upto 5 attempts - test-derive05@example.com
Again on 6th attempt it should go back to test-drive-01@example.com
"Outputs" : {
"Username" : {
"Description" : "Appcito Cafe UserName",
"Value" : { "Fn::Join" : [ "", [ "testdrive-[dynamic(01-05)]@example.com"]]}
},
任何人都可以帮助完成示例模板输出。我不知道CloudFormation内置了任何东西来支持基于现有值的循环值。您有几个选择来解决此问题: