» openstack_identity_endpoint_v3

Manages a V3 Endpoint resource within OpenStack Keystone.

» Example Usage

resource "openstack_identity_service_v3" "service_1" {
  name = "my-service"
  type = "my-service-type"
}

resource "openstack_identity_endpoint_v3" "endpoint_1" {
  name = "my-endpoint"
  service_id = "${openstack_identity_service_v3.service_1.id}"
  endpoint_region = "${openstack_identity_service_v3.service_1.region}"
  url = "http://my-endpoint"
}

» Argument Reference

The following arguments are supported:

  • region - (Optional) The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

  • name - (Optional) The endpoint name.

  • endpoint_region - (Required) The endpoint region. The region and endpoint_region can be different.

  • url - (Required) The endpoint url.

  • interface - (Optional) The endpoint interface. Valid values are public, internal and admin. Default value is public

  • service_id - (Required) The endpoint service ID.

» Attributes Reference

id is set to the ID of the endpoint. In addition, the following attributes are exported:

» Import

Endpoints can be imported using the id, e.g.

$ terraform import openstack_identity_endpoint_v3.endpoint_1 5392472b-106a-4845-90c6-7c8445f18770