Skip to content

fix: Add validate_certificate variable in atlantis module #361

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

Conversation

bakayolo
Copy link

@bakayolo bakayolo commented Oct 2, 2023

Description

Add the option to set the validate_certificate variable as part of the acm module. This variable will trigger the creation of a route53 record to validate the certificate ownership.

Allowing to disable this variable is useful when using external DNS (not route53).

Motivation and Context

Fixes #360

I decided to add a new variable, and not set validate_certificate = var.create_route53_record || var.create_route53_aaaa_record to not introduce a breaking change.

Breaking Changes

This is not a breaking change.
The value added is default to true in the acm module, and I defaulted to true in the atlantis module.

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
  • I have tested and validated these changes using my own deployment

add the option to set the `validate_certificate` variable as part of the acm module. This variable will trigger the creation of a route53 record to validate the certificate ownership.

Allowing to disable this variable is useful when using external DNS (not route53).
@bakayolo bakayolo changed the title fix: validate_certificate fix: Add validate_certificate variable in atlantis module Oct 2, 2023
@antonbabenko
Copy link
Member

Please update the rest to make CI checks green.

@bakayolo
Copy link
Author

bakayolo commented Oct 2, 2023

@antonbabenko the ECS error disappear when bumping the module to the latest version. However, for the vpc module, I would need to bump the major version because of enable_classiclink and enable_classiclink_dns_support not supported by aws anymore.

And this module has a breaking change

I am mostly concerned with the two first points.
And also feel like this thing should better be addressed as part of another PR?

Wdyt?

Copy link

github-actions bot commented Nov 2, 2023

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@antonbabenko
Copy link
Member

This issue has been resolved in version 4.0.0 🎉

Copy link

github-actions bot commented Dec 5, 2023

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 Dec 5, 2023
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.

create_route53_record=false still try to create a record for ACM
2 participants