Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use dynamic partition value #532

Merged
merged 1 commit into from
Oct 22, 2024
Merged

fix: Use dynamic partition value #532

merged 1 commit into from
Oct 22, 2024

Conversation

mcamick
Copy link
Contributor

@mcamick mcamick commented Oct 22, 2024

Add functionality to interpolate resource arns to use local.partition instead of hardcoded value of "aws" to prevent breaking non-commercial use cases.

Description

Updated previously changed values to use local.partition instead of hardcoded 'aws' reference.

Motivation and Context

Resolves #531

Breaking Changes

This shouldn't be a breaking change and is using a pattern that exists other places in the policies.tf file.

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
    Tested with project that was previously broken by a previous update to validate fix.
  • I have executed pre-commit run -a on my pull request

Ran
Screenshot 2024-10-22 at 13 32 26

Add functionality to interpolate resource arns to use local.partition instead of hardcoded value of "aws" to prevent breaking non-commercial use cases.
@mcamick mcamick changed the title Update policies.tf fix: Update policies.tf Oct 22, 2024
@mcamick mcamick changed the title fix: Update policies.tf fix: update policies.tf to resolve issue#531 Oct 22, 2024
@bryantbiggs bryantbiggs changed the title fix: update policies.tf to resolve issue#531 fix: Use dynamic partition value Oct 22, 2024
@bryantbiggs bryantbiggs merged commit 9986b50 into terraform-aws-modules:master Oct 22, 2024
35 of 37 checks passed
antonbabenko pushed a commit that referenced this pull request Oct 22, 2024
## [5.47.1](v5.47.0...v5.47.1) (2024-10-22)

### Bug Fixes

* Use dynamic partition value ([#532](#532)) ([9986b50](9986b50))
@antonbabenko
Copy link
Member

This PR is included in version 5.47.1 🎉

Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants