【发布时间】:2017-12-20 00:11:57
【问题描述】:
遇到以下错误:
Invalid type for parameter LaunchTemplateData.CreditSpecification, value: CpuCredits:unlimited, type: <type 'unicode'>, valid types: <type 'dict'>
使用以下命令:
aws ec2 create-launch-template --launch-template-name MyLaunchTemplate --version-description FirstVersion --launch-template-data ImageId=ami-8c1
be5f6,InstanceType=t2.medium,CreditSpecification=CpuCredits:unlimited
awscli 版本:aws-cli/1.14.12
据此:http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-unlimited.html...
有什么想法吗??
【问题讨论】: