You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently neither azure_rm_virtualmachine nor azure_rm_virtualmachinescaleset support specifying the community gallery image ID in the image.id parameter. For example, if we attempt to create a Fedora 40 image using the Community gallery image ID /CommunityGalleries/Fedora-5e266ba4-2250-406d-adad-5d73860d958f/Images/Fedora-Cloud-40-x64/Versions/latest, these Ansible modules error out:
Error creating or updating virtual machine myVM - (LinkedInvalidPropertyId) Property id '/CommunityGalleries/fedora-5e266ba4-2250-406d-adad-5d73860d958f/Images/Fedora-Cloud-40-x64/Versions/latest' at path 'properties.storageProfile.imageReference.id' is invalid.
Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.\nCode: LinkedInvalidPropertyId\nMessage: Property id '/CommunityGalleries/fedora-5e266ba4-2250-406d-adad-5d73860d958f/Images/Fedora-Cloud-40-x64/Versions/latest' at path 'properties.storageProfile.imageReference.id' is invalid.
Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.
ISSUE TYPE
Feature Idea
COMPONENT NAME
azure_rm_virtualmachine and azure_rm_virtualmachinescaleset
ADDITIONAL INFORMATION
Fedora images are conveniently available for Azure by using the Community Image Gallery. In Python SDK, there is already support in the ImageReference for community_gallery_image_id. If Ansible provides a hook into using these Community gallery images, it would greatly simplify the provisioning and usage of Fedora and other images hosted in the Community Image Gallery.
The text was updated successfully, but these errors were encountered:
SUMMARY
Currently neither
azure_rm_virtualmachine
norazure_rm_virtualmachinescaleset
support specifying the community gallery image ID in theimage.id
parameter. For example, if we attempt to create a Fedora 40 image using the Community gallery image ID/CommunityGalleries/Fedora-5e266ba4-2250-406d-adad-5d73860d958f/Images/Fedora-Cloud-40-x64/Versions/latest
, these Ansible modules error out:ISSUE TYPE
COMPONENT NAME
azure_rm_virtualmachine
andazure_rm_virtualmachinescaleset
ADDITIONAL INFORMATION
Fedora images are conveniently available for Azure by using the Community Image Gallery. In Python SDK, there is already support in the
ImageReference
forcommunity_gallery_image_id
. If Ansible provides a hook into using these Community gallery images, it would greatly simplify the provisioning and usage of Fedora and other images hosted in the Community Image Gallery.The text was updated successfully, but these errors were encountered: