-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
resource/aws_route53_health_check: Various small improvements #6460
Conversation
…id search_string usage
…ype and properly read child_healthchecks into Terraform state
…l acceptance tests ``` --- PASS: TestAccAWSRoute53HealthCheck_IpConfig (11.58s) --- PASS: TestAccAWSRoute53HealthCheck_withChildHealthChecks (13.70s) --- PASS: TestAccAWSRoute53HealthCheck_withHealthCheckRegions (15.13s) --- PASS: TestAccAWSRoute53HealthCheck_CloudWatchAlarmCheck (17.18s) --- PASS: TestAccAWSRoute53HealthCheck_basic (17.91s) --- PASS: TestAccAWSRoute53HealthCheck_withSearchString (18.99s) --- PASS: TestAccAWSRoute53HealthCheck_withSNI (32.58s) ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one minor 🤔 but this otherwise LGTM 👍
route53.HealthCheckTypeHttps, | ||
route53.HealthCheckTypeHttpsStrMatch, | ||
route53.HealthCheckTypeTcp, | ||
}, true), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a reason this is case-insensitive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I worry because the StateFunc
right above is explicitly converting things to uppercase. My guess is that the API accepts both casings, so to keep that support for existing configurations, turned off case sensitivity here for validation.
This has been released in version 1.44.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Closes #6346
Closes #6393
Changes proposed in this pull request:
search_string
usagetype
child_healthchecks
into Terraform stateOutput from acceptance testing: