-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fix azure table storage name length requirement. #143
Fix azure table storage name length requirement. #143
Conversation
Ope, guess the build didn't break. Let me know your thoughts! |
fc8a180
to
5a49ff4
Compare
5a49ff4
to
0bb6511
Compare
Hey @mjgpy3 Thanks for opening this PR - this validation change LGTM :) Whilst the tests currently pass - would you mind adding some additional test cases to the Acceptance Test to better match the validation rules? Thanks! |
Absolutely, I'll add some test as soon as I get the chance. |
@tombuildsstuff tests added. |
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.
Hey @mjgpy3
Thanks for pushing the latest changes. I've taken a look and this LGTM - tests pass:
$ TF_ACC=1 envchain azurerm go test ./azurerm -v -timeout 120m -run TestValidateArmStorageTableName
=== RUN TestValidateArmStorageTableName
--- PASS: TestValidateArmStorageTableName (0.00s)
PASS
ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 0.023s
Fix azure table storage name length requirement.
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. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
https://docs.microsoft.com/en-us/rest/api/storageservices/Understanding-the-Table-Service-Data-Model?redirectedfrom=MSDN#table-names.
I'm not sure if this requirement changed since this was created, but it's currently breaking my infrastructure because I have a 5-character-name table.
I'm having difficulty getting my go dev environment set up so this will likely break tests. I'll fix them once the red build comes back.