amazon-archives / aws-service-operator

AWS Service Operator allows you to create AWS resources using kubectl.
Apache License 2.0
733 stars 103 forks source link

WIP: Golang templating #129

Open joerocklin opened 5 years ago

joerocklin commented 5 years ago

Addresses issue #128

Description of changes: Many of the changes contained here are from updating dep and running the codegen process. It also builds on #127.

This adds a small helper to fetch the contents of the CF Template from the URL and perform template substitution. I consider this a partial solution as it stands since it requires the parameters to be defined in the CF Template even if they are only used in the golang template process. I have a fix for #126 which does not require any unusual workarounds on the CloudFormation side.

If master is updated to reflect the dep updates and base codegen I can rebase this to make it more clear what is changing.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.