-
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
Allow - in disk snapshot names #1574
Conversation
It appears that - was omitted from the possible character in snapshot names. It doesn't seem like there is any issue when using - in the name, as I was able to create snapshots with dashes both from the portal and through this plugin (with this patch applied).
Oh I see where the format is coming from: https://docs.microsoft.com/en-us/rest/api/compute/snapshots/update
In practice though, it appears that '-' is supported. I'm not sure how to request REST API updates. |
Also it seems that disks have the same requirements for names, which is not enforced in terraform: The documentation is also outdated since - are clearly accepted for disk names as well. |
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.
LGTM - thanks for this 👍
hi @CoRfr Just to let you know that is now available in [v1.10 of the AzureRM Provider(https://github.com/terraform-providers/terraform-provider-azurerm/blob/v1.10.0/CHANGELOG.md#1100-july-21-2018) - which you can update to this version by specifying it in the Provider block, like so:
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. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
It appears that - was omitted from the possible character in snapshot
names.
It doesn't seem like there is any issue when using - in the name, as
I was able to create snapshots with dashes both from the portal and
through this plugin (with this patch applied).