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

Failure to add/change tags on imported azurerm_shared_image (Error: Changing property 'galleryImage.properties.eula' is not allowed.) #16792

Closed
1 task done
dduportal opened this issue May 14, 2022 · 3 comments · Fixed by #16868

Comments

@dduportal
Copy link

dduportal commented May 14, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.1.9

AzureRM Provider Version

3.6.0

Affected Resource(s)/Data Source(s)

azurerm_shared_image

Terraform Configuration Files

https://github.com/jenkins-infra/azure/blob/7311f8f8674089cc5d52b03d0f97693d224bcdd5/packer-resources.tf#L25-L58

Debug Output/Panic Output

https://gist.github.com/dduportal/6a5f20977e272f15c85e1ed75ce6c50f

Expected Behaviour

Part of the described resource were pre-existing and had been imported through terraform import commands, while other are expected to be created (switch from manual management to terraform management).

We expect all the resource to be update or created without any error.

Actual Behaviour

  • All the created resources behave as expected
  • All the imported resources fails when the tags are updated/created with an error related to the existing eula properties unable to be changed.
  • We do NOT specify any eula attributes: neither on the Azure side neither on the terraform management
  • Removing the tags atrribute does not trigger the error (this is what we are doing: no tag applied and it's fine)

Steps to Reproduce

  • Create a shared image gallery in Azure WebUI and create an image
  • Import both on a terraform project
  • Add a tag to the imported image: it fails.

Important Factoids

No response

References

@serhiichernukha
Copy link

Faced the same issue. Is there any update on this?

@github-actions
Copy link

This functionality has been released in v3.7.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants