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
# Copy-paste your Terraform configurations here - for large Terraform configs,# please use a service like Dropbox and share a link to the ZIP file. For# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorpdata"azurerm_image""dev" {
name_regex="${var.vm_image}-dev-\\d+\\.\\d+\\.\\d+"resource_group_name="${data.azurerm_resource_group.rgp.name}"sort_descending="true"
}
module"image_definition" {
source="mysource"image_name="${var.image_name}"gallery_name="${data.azurerm_shared_image_gallery.gallery.name}"resource_group_name="${data.azurerm_resource_group.rgp.name}"os_type="${var.image_os_type}"image_offer="${var.image_offer}"image_sku="${var.image_sku}"
}
module"image_version_dev" {
source="mysource"resource_group_name="${data.azurerm_resource_group.rgp.name}"gallery_name="${data.azurerm_shared_image_gallery.gallery.name}"image_name="${var.image_name}"image_id="${data.azurerm_image.dev.id}"image_version="0.0.111"azure_region="${var.image_regions}"
}
Debug Output
Panic Output
Expected Behavior
Image Version is created using the Rest API with version 0.0.111
Rest API definition
galleryImageVersionName | path | True | string | The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..
-- | -- | -- | -- | --
Actual Behavior
Error: module.image_version_dev.azurerm_shared_image_version.version: Expected name to be in the format `1.2.3` but got "0.0.111".
Steps to Reproduce
Use a Version of anything that is more than a single digit ex 1.18.0
terraform apply
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
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!
ghost
locked and limited conversation to collaborators
Mar 6, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
*azurerm_shared_image_version
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Image Version is created using the Rest API with version 0.0.111
Rest API definition
Actual Behavior
Steps to Reproduce
Use a Version of anything that is more than a single digit ex 1.18.0
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: