sfn-ssm
sfn-ssm is a parameter resolver used with Sparkleformation via sfn-parameters (https://github.com/sparkleformation/sfn-parameters)
Use
- Install this Gem where you will run Sparkleformation CLI.
- Provide AWS credentials following the normal AWS SDK for Ruby guidelines (https://docs.aws.amazon.com/sdk-for-ruby/v3/developer-guide/setup-config.html)
- Update your
.sfn.rb
file to includesfn-ssm
in the require array.ruby callbacks do require ['sfn-parameters', 'sfn-ssm'] default ['parameters_stacks'] end
4.Use the Sparkleformation CLI to perform the action you desire, parameters will be filled in via Parameter Store as appropriate
Use in parameter file
Using this resolver is as simple as including parameter_store
as your key name and the name of
the path/value you want to lookup in Parameter Store in your sfn-parameters file.
parameters:
stack_creator:
parameter_store: name_to_lookup