-
Notifications
You must be signed in to change notification settings - Fork 87
datasource_domain
ArthurHlt edited this page Dec 11, 2019
·
2 revisions
Gets information on a Cloud Foundry domain.
The following example looks up a name in the current deployment with the host name local
within the local application domain.
data "cloudfoundry_domain" "l" {
sub_domain = "local"
}
The following arguments are supported and will be used to perform the lookup:
-
name
- (Optional) This value will be computed based on thesub-domain
ordomain
attributes. If provided then this argument will be used as the full domain name. -
sub-domain
- (Optional) The sub-domain of the full domain name -
domain
- (Optional) The domain name
The following attributes are exported:
-
id
- The GUID of the domain -
name
- The full domain name if not provided as an argument -
domain
- The part of the domain name if not provided as an argument -
org
- The org if this is a private domain owned by an org -
internal
- Flag that sets the domain as an internal domain
- 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