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
azurerm_platform_image: Add version argument #4402
Comments
Maybe it is possible to implement query. Request is to implement the following request via az cli in the datasource:
EDIT 2020-04-02: The filter option has been removed form the Rest API documentation. Alternative: Add version as optional parameter with default "latest". If version is given and not latest, use
|
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
Hello,
is it possible to extend the data source azurerm_platform_image to allow
version
as argument?Maybe we need a
all=true/false
flag es well, which is automatically true ifversion
has been set.The az image list command does not support a
--version
argument yet, but maybe it is possible to implement it anyway viafilter
Option in the API call (https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages/list)With this it will be possible to boot your instance from a disk, but use a specific image (not latest). And if we boot from VHD, we are able manage tags of the boot disk via terraform.
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: