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

feat: Move health_check defaults to the type definition #150

Conversation

sestrella
Copy link
Contributor

Description

PR #148 a local variable to add some default values to the health_check block; however, on second consideration, I believe it would be better to move those default values to the type definition as it would provide better type hints regarding the health_check variable.

Motivation and Context

  • Provide better type hints for health_check

Breaking Changes

No

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

@sestrella sestrella changed the title Move health_check defaults to the type definition feat: Move health_check defaults to the type definition Dec 29, 2023
@sestrella sestrella marked this pull request as draft December 29, 2023 03:10
@sestrella sestrella closed this Dec 29, 2023
@sestrella
Copy link
Contributor Author

This PR is being closed since it will require additional work to make it work with Terraform 1.0.0 because optional does not have a default value in this version.

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 Jan 29, 2024
@sestrella sestrella deleted the move_health_check_defaults_to_variables branch January 29, 2024 14:03
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.

1 participant