Skip to content

Conversation

@vladislav-orlovskiy
Copy link
Contributor

@vladislav-orlovskiy vladislav-orlovskiy commented Apr 3, 2025

…aws-gov

Description

adding data "aws_partition" "current" {} and replacing hardcoded :aws: with :${data.aws_partition.current.partition}:

Motivation and Context

Currently module outputs incorrect static arn if it runs on China region

#72

Breaking Changes

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

@vladislav-orlovskiy vladislav-orlovskiy changed the title Replace hardcoded partition with data resource to support aws-cn and … fix: replace hardcoded partition with data resource to support aws-cn and … Apr 3, 2025
@vladislav-orlovskiy vladislav-orlovskiy changed the title fix: replace hardcoded partition with data resource to support aws-cn and … fix: Replace hardcoded partition with data resource to support aws-cn and … Apr 3, 2025
@vladislav-orlovskiy
Copy link
Contributor Author

@antonbabenko would you mind take a look at this? It's seems small change but it blocks us really bad.

@antonbabenko antonbabenko merged commit f8495d1 into terraform-aws-modules:master Apr 3, 2025
9 of 15 checks passed
@antonbabenko
Copy link
Member

This PR is included in version 4.3.1 🎉

@github-actions
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 May 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants