awslabs/ecs-refarch-continuous-deployment

Intermixing JSON and YAML for Policies

maxwellimpact opened this issue · 2 comments

I noticed the use of JSON for the policies and I’m curious if this is an encouraged practice or what the advantage might be? My assumption is that it’s easier to copy and paste in from the web console. A few on our team were debating pure YAML or sticking with JSON for a policy.

That's a good point. This reference architecture was originally written in JSON, so I left the policies as JSON for expediency when I converted it. So, basically, I was lazy. My opinion is that pure YAML would be the better choice as I'd favor consistency if there's no benefit to the co-mingling. I'll likely update this in a future pass. Hope that helps!

@jpignata thanks for the response. makes sense!