Skip to content

Instantly share code, notes, and snippets.

@rikvanderkemp
rikvanderkemp / Example.md
Created September 21, 2022 13:31
Loading multiple parameters from the AWS parameter store and using them in terraform

Let's say you have the following parameters defined in the AWS parameter store:

/production/worker/SOME_PARAM_1
/prodcution/worker/SOME_PARAM_2

Instead of using multiple data blocks you can use aws_ssm_parameters_by_path to load them all at once. \ But using them is another thing. To be able to use them easily, you can remap this data into your own object.