-
Notifications
You must be signed in to change notification settings - Fork 87
datasource_space
ArthurHlt edited this page Aug 31, 2020
·
3 revisions
Gets information on a Cloud Foundry space.
The following example looks up a space named 'myspace' within an organization 'myorg' which has been previously provisioned thru Terraform.
data "cloudfoundry_space" "s" {
name = "myspace"
org = cloudfoundry_org.myorg.id
}
The following arguments are supported:
-
name
- (Required) The name of the space to look up.
One of the following arguments must be provided.
-
org
- (Optional) GUID of the organization the space belongs to. Conflicts withorg_name
. -
org_name
- (Optional) Name of the organization the space belongs to. Conflicts withorg
.
The following attributes are exported:
-
id
- The GUID of the space -
org
- The GUID of the org the space belongs to -
org_name
- The name of the org the space belongs to -
quota
- The GUID of the space's quota -
labels
- Map of labels as described here. Works only on cloud foundry with api >= v3.63. -
annotations
- Map of annotations as described here. Works only on cloud foundry with api >= v3.63.
- cloudfoundry_app
- cloudfoundry_asg
- cloudfoundry_domain
- cloudfoundry_info
- cloudfoundry_isolation_segment
- cloudfoundry_org
- cloudfoundry_org_quota
- cloudfoundry_route
- cloudfoundry_router_group
- cloudfoundry_service
- cloudfoundry_service_instance
- cloudfoundry_service_key
- cloudfoundry_space
- cloudfoundry_space_quota
- cloudfoundry_stack
- cloudfoundry_user
- cloudfoundry_user_provided_service
- cloudfoundry_app
- cloudfoundry_asg
- cloudfoundry_buildpack
- cloudfoundry_default_asg
- cloudfoundry_domain
- cloudfoundry_evg
- cloudfoundry_feature_flag
- cloudfoundry_isolation_segment
- cloudfoundry_isolation_segment_entitlement
- cloudfoundry_network_policy
- cloudfoundry_org
- cloudfoundry_org_quota
- cloudfoundry_org_users
- cloudfoundry_private_domain_access
- cloudfoundry_route
- cloudfoundry_route_service_binding
- cloudfoundry_service_broker
- cloudfoundry_service_instance
- cloudfoundry_service_key
- cloudfoundry_service_plan_access
- cloudfoundry_space
- cloudfoundry_space_quota
- cloudfoundry_space_users
- cloudfoundry_user
- cloudfoundry_user_provided_service