Template contains errors.: Template format error: YAML not well-formed

Viewed 3417

I am trying to create cloud formation stack from below template but i am getting Template contains errors.: Template format error: YAML not well-formed error

AWSTemplateFormatVersion: 2010-09-09
Description: A sample template
Resources:
 BFASchemaRegistry: 
  Type: AWS::Glue::Registry
  Properties: 
   Description: AWS Glue Schema Registry for BFA
   Name: BFASchemaRegistry1
   Tags: 
    -key: band
     value: bfa
2 Answers

You are missing space in -key: band and you have wrong case letters. So it should be:

AWSTemplateFormatVersion: 2010-09-09
Description: A sample template
Resources:
 BFASchemaRegistry: 
  Type: AWS::Glue::Registry
  Properties: 
   Description: AWS Glue Schema Registry for BFA
   Name: BFASchemaRegistry1
   Tags: 
    - Key: band
      Value: bfa

MultiAZDatabase: AllowedValues: - true - false ConstraintDescription: Must be either true or false Default: false Description: Create a Multi-AZ Aurora PostgreSQL database instance Type:String

Related