-
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_xray_sampling_rule fix rule name max length #18667
resource/aws_xray_sampling_rule fix rule name max length #18667
Conversation
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.
Welcome @czubocha 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
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.
Looks great @czubocha , thank you for this fix 🚀 !
Output of acceptance tests (Commercial):
--- PASS: TestAccAWSXraySamplingRule_disappears (11.37s)
--- PASS: TestAccAWSXraySamplingRule_basic (16.03s)
--- PASS: TestAccAWSXraySamplingRule_update (25.02s)
--- PASS: TestAccAWSXraySamplingRule_tags (34.49s)
This has been released in version 3.36.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! |
The maximum length of the X-Ray rule name is 32 chars according to AWS documentation. Currently, the validation is set to a maximum of 128 which causes 400 HTTP status code to be returned from AWS when provided name is longer than 32.
Community Note
Output from acceptance testing: