【发布时间】:2013-03-16 07:12:18
【问题描述】:
我正在使用我的 cfn 脚本中的标签来标记我的资源:
"Tags" : [ { "Key" : "Owner", "Value" : "my name" },
{ "Key" : "Name", "Value" : "instance name" }
{ "Key" : "DateCreated", "Value" : <something goes here> }
],
我想按照上面的例子创建一个带有当前日期的标签。有可能吗?
【问题讨论】:
-
这个值不需要标签;您可以通过 describe-instance 命令获取启动日期:docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/…
标签: amazon-web-services amazon-cloudformation