-
Notifications
You must be signed in to change notification settings - Fork 87
resource_private_domain_access
ArthurHlt edited this page Aug 31, 2020
·
3 revisions
Provides a resource for sharing access to private domains with other Cloud Foundry Organizations.
~> NOTE: Multiple instances of this resource can be used to share a given private domain with multiple orgs.
~> NOTE: This resource requires the provider to be authenticated with an account granted org manager permissions.
The following is an example of giving an organization access to a private [domain]. The domain is retrieved via a domain data source and the organization via an [org data source)(/docs/providers/cloudfoundry/d/org.html).
resource "cloudfoundry_private_domain_access" "shared-to-my-org" {
domain = data.cloudfoundry_domain.domain.id
org = data.cloudfoundry_org.my-org.id
}
The following arguments are supported:
-
domain
- (Required, String) The GUID of private domain. -
org
- (Required, String) The GUID of the organization.
An existing CF private domain access can be imported using the combined `/' identifier, e.g.
$ terraform import cloudfoundry_private_domain_access.my-access 84f5ba83-1728-481f-9a62-72d109e4be74/c8eba5e6-5a21-45ee-ae0a-59b1f650888a
- 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