Use this data source to get the ID of an OpenStack project.
data "openstack_identity_project_v3" "project_1" { name = "demo" }
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 are true
and false
.
is_domain
- (Optional) Whether this project is a domain. Valid values are true
and false
.
name
- (Optional) The name of the project.
parent_id
- (Optional) The parent of this project.
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