【发布时间】:2020-02-27 06:12:22
【问题描述】:
我正在尝试从列表中选择一个 IAM 角色,以便在部署服务器时将其附加到 EC2 实例。但是,我没有看到这样做的选项。
"IAMRole": {
"Description": "EC2 attached IAM role, must be an existing IAM role which will be attached to EC2 instance.",
"Type": "AWS::IAM::Role::RoleName",
"ConstraintDescription": "Must be the name of an existing IAM Role",
},
我只能选择使用Type: String 并传递默认字符串值。
如果这是错误的或我需要知道的事情,请纠正我。
【问题讨论】:
-
请发布您的 CF 模板。
标签: amazon-web-services amazon-ec2 amazon-cloudformation amazon-iam