contabo / terraform-provider-contabo

Terraform Provider for Contabo Cloud-Services
MIT License
59 stars 7 forks source link

enhancement: Image not reuploading when changing download url #18

Closed loic-roux-404 closed 1 year ago

loic-roux-404 commented 1 year ago

I've already uploaded custom image on contabo but when i want to update it the image isn't uploaded. Just infos likes name, version ... are updated on already uploaded image. When url changes a new image should be uploaded and the old one replaced on archived.

resource "contabo_image" "paas_instance_qcow2" {
  name        = var.ubuntu_release_info.name
  image_url   = "${var.ubuntu_release_info.url}/${var.ubuntu_release_info.iso_version_tag}/${local.iso_version_file}"
  os_type     = "Linux"
  version     = var.ubuntu_release_info.iso_version_tag
  description = "generated PaaS vm image with packer"
}