» openstack_identity_endpoint_v3

Use this data source to get the ID of an OpenStack endpoint.

» Example Usage

data "openstack_identity_endpoint_v3" "endpoint_1" {
  service_name = "demo"

» 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 name of the endpoint.

  • endpoint_region - (Optional) The region the endpoint is assigned to. The region and endpoint_region can be different.

  • service_id - (Optional) The service id this endpoint belongs to.

  • service_name - (Optional) The service name of the endpoint.

  • service_type - (Optional) The service type of the endpoint.

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

» Attributes Reference

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