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

image owner changing #566

Open
tikondrus opened this issue Aug 6, 2024 · 3 comments
Open

image owner changing #566

tikondrus opened this issue Aug 6, 2024 · 3 comments

Comments

@tikondrus
Copy link

Description

the current provider version does not provide to set and/or change the owner( user) of opennebula image. there are no any argument in opennebula_image to set it.
`# oneimage show 172

IMAGE 172 INFORMATION
ID : 172
NAME : template-ubuntu20
USER : template-admin
GROUP : template-group
...`
but I can set the group as a part of ownership and permissions.

New or affected resources and data sources

resource opennebula_image

Potential terraform configuration

resource "opennebula_image" "example" {
  name         = "datablock"
  description  = "Terraform datablock"
  datastore_id = 103
  persistent   = true
  type         = "DATABLOCK"
  size         = "1024"
  dev_prefix   = "vd"
  driver       = "qcow2"
  group        = "terraform"

  user         = "terraform"

  tags = {
    environment = "example"
  }

  template_section {
   name = "example"
   elements = {
      key1 = "value"
   }
  }
}

References

No response

@tikondrus
Copy link
Author

Did you have time to check this featrure request?

@tikondrus
Copy link
Author

Did you have time to check and reproduce this issue?

@treywelsh
Copy link
Collaborator

Don't need to reproduce: you're right, the user is not managed by the image resource:

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

No branches or pull requests

3 participants