Version: 2

Blueprints:
  
  # Stack default configuration name
  SimpleService: &SimpleService
    Template: template.yml
    StackPolicy: DENY_ALL
    Capabilities: [CAPABILITY_IAM]
    Package:  true
    EnableTerminationProtection: false
    Parameters:
      ReadCapacityUnits: 5
      WriteCapacityUnits: 5

Stages:

  Staging:
    SimpleService-Staging:
      <<: *SimpleService
      Profile: default
      Region: us-west-2
      Tags:
        Environment: staging

  Production:
    SimpleService-Production:
      <<: *SimpleService
      Profile: default
      Region: us-west-2
      Tags:
        Environment: prod
      Parameters:
        ReadCapacityUnits: 10
        WriteCapacityUnits: 10

Version: 2

Blueprints:

  SimpleService:
    Template: template.yml
    StackPolicy: DENY_ALL
    Capabilities: [CAPABILITY_IAM]
    Package:  true
    Parameters:
      ReadCapacityUnits: 5
      WriteCapacityUnits: 5

Stages:

  Staging:
    SimpleService-Staging:
      Extends: SimpleService
      Profile: default
      Region: us-east-1
      Tags:
        Environment: staging

  Production:
    SimpleService-Production:
      Extends: SimpleService
      Profile: default
      Region: us-west-2
      EnableTerminationProtection: false
      Tags:
        Environment: prod
      Parameters:
        ReadCapacityUnits: 10
        WriteCapacityUnits: 10

Update SAM sample template with new config format.
Update SAM sample template with new config format.
