openstack_images_image_access_accept_v2

Manages memberships status for the shared OpenStack Glance V2 Image within the destination project, which has a member proposal.

Example Usage

Accept a shared image membershipship proposal within the current project.

data "openstack_images_image_v2" "rancheros" {
  name          = "RancherOS"
  visibility    = "shared"
  member_status = "all"
}

resource "openstack_images_image_access_accept_v2" "rancheros_member" {
  image_id = data.openstack_images_image_v2.rancheros.id
  status   = "accepted"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Image access acceptance status can be imported using the image_id, e.g.

$ terraform import openstack_images_image_access_accept_v2 89c60255-9bd6-460c-822a-e2b959ede9d2