DataDog / datadog-cloudformation-macro

CloudFormation Macros by Datadog
Apache License 2.0
14 stars 22 forks source link

Revert Tag Formatting to JSON Object Arrays #68

Closed lizapressman closed 2 years ago

lizapressman commented 2 years ago

What does this PR do?

In a previous PR to add DD_XXX env vars and tagging, I modified the tag formatting to be { [key: string]: string }; instead of { Key: string; Value: string }[]; but cloudformation requires the JSON object array for Tags so this PR reverts that change.

Motivation

Problem was reported here

Testing Guidelines

Updated all unit tests to what we now expect and everything seems to be passing and looking good

Additional Notes

Types of changes

Check all that apply