У меня есть следующий очень простой шаблон CloudFormation:
---
AWSTemplateFormatVersion: 2010-09-09
Parameters:
InstanceType:
Description: 'EC2 Instance Type'
Default: t2.micro
Resources:
EC2Instance:
Type: 'AWS::EC2::Instance'
Properties:
ImageId: ami-08589eca6dcc9b39c
InstanceType: !Ref InstanceType
KeyName: default
При проверке этого шаблона с помощью:
▶ aws cloudformation validate-template --template-body file://cloudformation.yml
Я получаю следующее зашифрованное сообщение об ошибке:
An error occurred (ValidationError) when calling the ValidateTemplate operation:
Template format error: Every Parameters object must contain a Type member.
Что это значит?Я погуглил это сообщение об ошибке и ничего не нашел.