Skip to content

Conversation

@oycyc
Copy link
Contributor

@oycyc oycyc commented Oct 13, 2025

what

  • Added a new variable ssm_parameters_enabled (boolean, defaults to true) to allow enabling/disabling all SSM parameter resources
  • Updated the count parameter for all 4 aws_ssm_parameter resources to respect this flag. The count is previously existing, so it does not change any TF Address.
  • This change is fully backwards compatible - without any configuration changes, all existing deployments will continue to work exactly as before since the default value is true, which provisions the SSM parameter.

why

  • There are cases where consumers don't to use SSM parameters or don't want SSM parameters created from this. The module currently forces ALL usage to provision SSM parameters.
  • Allows teams using alternative credential management solutions (e.g., Vault, Secrets Manager, etc.) to avoid creating unused SSM parameters

Reference

closes #68

Issue raised by community with couple of comments + upvotes: #68

@oycyc oycyc requested review from a team as code owners October 13, 2025 22:18
@oycyc oycyc requested review from hans-d and kevcube October 13, 2025 22:18
@mergify mergify bot added the triage Needs triage label Oct 13, 2025
@oycyc oycyc added minor New features that do not break anything and removed triage Needs triage labels Oct 13, 2025
@oycyc
Copy link
Contributor Author

oycyc commented Oct 13, 2025

/terratest

@Benbentwo
Copy link
Member

Looks good, thanks

@Benbentwo Benbentwo merged commit 964072d into main Oct 15, 2025
48 checks passed
@Benbentwo Benbentwo deleted the feat/allow-optionality-of-ssm-params branch October 15, 2025 00:43
@github-actions
Copy link
Contributor

These changes were released in v3.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor New features that do not break anything

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSM parameters should be optional

3 participants