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

Missing metadata implementation in opentelekomcloud_images_image_v2. #2799

Closed
opnmind opened this issue Jan 24, 2025 · 1 comment
Closed
Assignees

Comments

@opnmind
Copy link

opnmind commented Jan 24, 2025

Hello,

I tried to create an image (opentelekomcloud_images_image_v2) with the needed metadata 'hw_firmware_type=uefi' and I received an error message that the metadata is not a valid argument.
In the documentation (https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/resources/images_image_v2#metadata-3) the argument is mentioned but it seems not yet implemented in the code.

Please fix this and consider also to implement the metadata feature in the opentelekomcloud_ims_image_v2 part too (https://docs.otc.t-systems.com/image-management-service/api-ref/ims_apis/image/updating_image_information.html#en-us-topic-0020091567).

I wish you a great day.

@muneeb-jan
Copy link
Member

Hi @opnmind,

I went through this and noticed the following:

  1. metadata is not an argument in the docs. It is listed as attributes. However, this itself is a documentation error since we aren't returning this field. Perhaps this is a remnant from legacy code and remained unnoticed.
  2. The APIs used for opentelekomcloud_images_image_v2 (both native Openstack and IMS) itself do not support this argument.

If you still need this functionality, please contact customer support ([email protected]) and submit a feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants