openstack_identity_project_v3
Use this data source to get the ID of an OpenStack project.
Example Usage
data "openstack_identity_project_v3" "project_1" { name = "demo" }
Argument Reference
The following arguments are supported:
-
domain_id
- (Optional) The domain this project belongs to. -
enabled
- (Optional) Whether the project is enabled or disabled. Valid values aretrue
andfalse
. -
is_domain
- (Optional) Whether this project is a domain. Valid values aretrue
andfalse
. -
name
- (Optional) The name of the project. -
parent_id
- (Optional) The parent of this project.
Attributes Reference
id
is set to the ID of the found project. In addition, the following attributes are exported:
-
description
- The description of the project. -
domain_id
- See Argument Reference above. -
enabled
- See Argument Reference above. -
is_domain
- See Argument Reference above. -
name
- See Argument Reference above. -
parent_id
- See Argument Reference above. -
region
- The region the project is located in.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/openstack/d/identity_project_v3.html