-
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
Remove last empty string validation #22954
Conversation
fcdcf4c
to
4f69100
Compare
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.
Looking good, just need to update the one test to make golangci-lint
happy
Output of affected tests:
--- PASS: TestAccEFSMountTarget_basic (257.17s)
--- PASS: TestAccEFSMountTarget_IPAddress_emptyString (145.44s)
--- PASS: TestAccEventsTarget_basic (1806.59s)
--- PASS: TestAccEventsTarget_ecsWithBlankLaunchType (2214.51s)
--- PASS: TestAccElasticsearchDomain_WithVolumeType_missing (2059.82s)
@@ -683,3 +683,13 @@ rules: | |||
metavariable: "$FUNC" | |||
regex: "^resource\\w*(Delete|Disable)$" | |||
severity: WARNING | |||
|
|||
- id: avoid-string-is-empty-validation |
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.
🙌
@@ -363,6 +365,49 @@ resource "aws_efs_mount_target" "test" { | |||
`, ipAddress) |
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.
`, ipAddress) | |
`, rName, ipAddress) |
And in the test the ip_address
just needs to be updated as well
f1cdf57
to
2def944
Compare
This functionality has been released in v4.0.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Community Note
Closes #13943
Output from acceptance testing: