Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aws-ssm-params and aws-ssm-params-writer #111

Merged
merged 4 commits into from
Aug 12, 2019

Conversation

mbarrien
Copy link
Contributor

Summary

This PR adds a Terraform 0.12 compatible aws-ssm-params and aws-ssm-params-writer module. It is intended to replace the aws-params and aws-params-writer module. We did not just modify the existing one because the migration from the old Terraform state to the new Terraform state is non obvious and its usage is widespread and thus likely to cause pain. The plan is to deprecate aws-params and aws-params-writer.

The big difference between the old and new version of aws-ssm-params-writer is the use of the for_each resource construct in Terraform 0.12. This removes the need for the parameters_count input, at the cost of loss of backwards compatibility with the existing module.

aws-ssm-params is now capable of reading multiple SSM parameters and returning them all as a single map output. The list of variables must be specified as an input; there's no simple way yet to just read all variables under a given path inside Terraform.

@mbarrien mbarrien requested a review from a team as a code owner August 10, 2019 21:24
@mbarrien mbarrien merged commit c3f8d58 into master Aug 12, 2019
@mbarrien mbarrien deleted the mbarrien/aws-ssm-params branch August 12, 2019 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants