Skip to content

Conversation

@rockholla
Copy link
Contributor

@rockholla rockholla commented Oct 28, 2025

…://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/enhanced-region-support

Description

Starting in AWS provider 6.x, most provider resources now support a region arg, including the aws_ssm_parameter resource. So, we can mint a new version of this module to add support for this feature.

Motivation and Context

The spirit of that change to the provider itself is to better support dynamically provisioning things across regions w/o having to use regional provider definitions for doing so. This module supporting that as a next evolution makes sense.

Breaking Changes

The main concern here would likely be the version constraint for the AWS provider itself. Appropriate communication of the change in required AWS provider via meaningful semantic versioning of this module should address this concern, 1.3.0 or 2.0.0. The region arg itself w/ a default of null would continue to make the default region for resources provider-based (how it's worked until now).

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

Comment on lines -196 to +219
values = ["amzn-ami-hvm-*-x86_64-gp2"]
values = ["amzn2-ami-*"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just noting that this was returning nothing w/ the previous query in the configured eu-west-1, so updated.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants