-
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
Linux VM scale set cannot be created using shared image gallery #5998
Comments
It looks like this should have been fixed in #5901, which did not make it into the 2.0.0 release. When can we expect a new release with this fix? |
Fixed via #5901 |
This has been released in version 2.1.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.1.0"
}
# ... other configuration ... |
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! |
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.21
Affected Resource(s)
azurerm_linux_virtual_machine_scale_set
Terraform Configuration Files
Debug Output
The same error shows up when the specific image version is used.
Error: Can not parse "source_image_id" as a resource id: ID contained more segments than required: "subscriptions/myS/resourceGroups/myRg/providers/Microsoft.Compute/galleries/mygallery/images/myimg"
Panic Output
Expected Behavior
This works for
azurerm_virtual_machine_scale_set
and is expected to work with the newazurerm_linux_virtual_machine_scale_set
Actual Behavior
Only the direct URL to the image is supported. Error is thrown when shared image gallery is used.
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: