小编pal*_*avi的帖子

必须至少定义一个资源成员...云形成错误 ec2

I tried other templates from the net but still getting the same error. Error
Run Code Online (Sandbox Code Playgroud)

消息:模板包含错误。:模板格式错误:必须至少定义一个资源成员。

{
"AWSTemplateFormatVersion" : "2010-09-09",

"Description" : "TTND AWS CloudFormation template to launch first instance",

"Parameters" : {

"KeyName" : {
"Description" : "EC2 Key Pair for SSH Access",
"Default" : "sample",
"MinLength": "1",
"MaxLength": "64",
"AllowedPattern" : "[-_ a-zA-Z0-9]*",
"ConstraintDescription" : "can contain only alphanumeric characters, spaces, dashes and underscores."
},
"InstanceType" : {
"Description" : "Instance1 EC2 instance type",
"Type" : "String",
"Default" : …
Run Code Online (Sandbox Code Playgroud)

cloud amazon-ec2 amazon-web-services aws-cloudformation

8
推荐指数
1
解决办法
2万
查看次数