feat: Add support for region argument on internal resources per https… #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/enhanced-region-support
Description
Starting in AWS provider
6.x, most provider resources now support aregionarg, including theaws_ssm_parameterresource. 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.0or2.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?
examples/*to demonstrate and validate my change(s)examples/*projectspre-commit run -aon my pull request