Skip to content
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

Not able to update image_type of PC image #454

Closed
bhati-pradeep opened this issue May 31, 2022 · 0 comments · Fixed by #480
Closed

Not able to update image_type of PC image #454

bhati-pradeep opened this issue May 31, 2022 · 0 comments · Fixed by #480
Assignees

Comments

@bhati-pradeep
Copy link
Collaborator

bhati-pradeep commented May 31, 2022

Nutanix Cluster Information

PC: pc.2022.4

Terraform Version

Terraform v1.1.9
on darwin_amd64

  • provider registry.terraform.io/nutanix/nutanix v1.5.0
    Your version of Terraform is out of date! The latest version
    is 1.2.1. You can update by downloading from https://www.terraform.io/downloads.html

Affected Resource(s)

  • nutanix_image

Terraform Configuration Files

resource "nutanix_image" "image" {
  name = "check123"
  description = "asdas"
  source_uri = "https://dl-cdn.alpinelinux.org/alpine/v3.16/releases/x86_64/alpine-standard-3.16.0-x86_64.iso"
  image_type = "DISK_IMAGE"
}

Expected Behavior

Update should go fine

Actual Behavior

Update doesn't gets reflected to actual resource

Steps to Reproduce

  1. terraform apply -> create image
  2. Update image_type
  3. terraform apply -> update image

Additional updates:

  1. Identify attributes which are allowed to be update and make fixes as per that. Ex. source_uri is not allowed to be updated.
  2. Check if image contents can be changed by uploading in image update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants