Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

YAML format to replace verbose JSON templates #20

Open
yongfei25 opened this issue Jul 19, 2016 · 4 comments
Open

YAML format to replace verbose JSON templates #20

yongfei25 opened this issue Jul 19, 2016 · 4 comments
Labels

Comments

@yongfei25
Copy link
Collaborator

yongfei25 commented Jul 19, 2016

Just thinking if we can implement some YAML to JSON template converter.
YAML format is simpler and supports comments in the template.

description: Create postgres database
parameters:
 - RDSInstanceClass:
     - description: DB instance type
       type: string
resources:
  # And you can drop comments here
 - DatastoreDBSubnetGroup:
    - Type: AWS::RDS::DBInstance
       DeletionPolicy: Retain
       Properties:
        - DBInstanceClass: <<RDSInstanceClass>>
@simonbuchan
Copy link

Note CF now supports YAML natively. Since it looks like you munge the input that doesn't really help, but it does mean a higher expectation that it will work.

@joffotron
Copy link
Collaborator

I've been using https://github.com/drrb/cfoo in our CF build process for this, but being able to bypass this would be 👍

@SomeoneWeird
Copy link
Owner

I don't see why we can't support YAML natively

@joffotron
Copy link
Collaborator

Yeah, that was my point. It'd be nice to not have to use cfoo ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants