-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: Columns cannot be single charcters #31348
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
This reverts commit 99ece2b.
Bug #31348 - update regex for single character columns
This functionality has been released in v5.3.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 issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
1.4.5
AWS Provider Version
4.66.1
Affected Resource(s)
schema_definition.column
Expected Behavior
Columns can be created that are single chars.
Actual Behavior
The code errors out with: (The name must consist of lower case alphanumerics and underscores.)
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Try and add a column thats a single character to a table.
Debug Output
No response
Panic Output
No response
Important Factoids
https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/service/keyspaces/table.go#L205-L209
The column verification allows for a one to 48 character string, but the regex has a hard requirement of at least 2 characters.
References
https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/service/keyspaces/table.go#L205-L209
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: