-
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
Not able to use valid FQDN as namespace in app mesh virtual nodes #9764
Comments
The API documentation says the pattern is:
Given that these regexes are in Java format and don't easily translate to Go format, I'll change this to just a 1-1024 length check (which is all the corresponding Cloud Map API specifies). |
@ewbankkit Thanks for looking into it. That would definitely fix my issue. |
Is there any way to ignore this check for now? |
Regarding potential enhancements to ignoring validation, please see hashicorp/terraform-plugin-sdk#105 |
The fix for this has been merged and will release with version 2.39.0 of the Terraform AWS Provider, likely tomorrow. Thanks to @ewbankkit for the implementation. 👍 |
This has been released in version 2.39.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 for triage. Thanks! |
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! |
Community Note
Terraform Version
Terraform v0.11.14
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Setting this value through AWS Console is accepted so this also should be allowed through terraform.
Actual Behavior
Validation does not allow dots (.) in the namespace name
Steps to Reproduce
Setup an app mesh virtual node with cloud map discovery and FQDN as namespace name.
terraform apply
Important Factoids
Validator
validateServiceDiscoveryHttpNamespaceName
does not allow dot (.) in regex. See https://github.com/terraform-providers/terraform-provider-aws/blob/c8049b7ba6b8a9a999966f76d6899ea0a6322a18/aws/validators.go#L2252-L2257References
The text was updated successfully, but these errors were encountered: