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: Create a domain policy that implicitly depends_on domain #15

Merged
merged 2 commits into from
Jun 28, 2024
Merged

Conversation

hougang512
Copy link
Contributor

@hougang512 hougang512 commented Jun 28, 2024

Description

Create a domain policy that implicitly depends_on domain

Motivation and Context

When creating a domain policy through the var.access_policies variable, terraform execution fails and prompts that the specified domain cannot be found,
The above problem can be solved by establishing an implicit depends_on between domain policy and domain

Breaking Changes

no

How Has This Been Tested?

I have passed the test

  • 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

If do not establish implicit dependencies, a error is displayed when create a domain policy indicating that the specified domain cannot be found
Update main.tf,domain_policy implicitly depends on domain
@hougang512 hougang512 changed the title Create a domain policy that implicitly depends_on domain fix: Create a domain policy that implicitly depends_on domain Jun 28, 2024
@bryantbiggs bryantbiggs merged commit 473ba5d into terraform-aws-modules:master Jun 28, 2024
13 of 19 checks passed
antonbabenko pushed a commit that referenced this pull request Jun 28, 2024
## [1.2.1](v1.2.0...v1.2.1) (2024-06-28)

### Bug Fixes

* Create a domain policy that implicitly depends_on domain ([#15](#15)) ([473ba5d](473ba5d))
@antonbabenko
Copy link
Member

This PR is included in version 1.2.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 Jul 29, 2024
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.

3 participants