-
Notifications
You must be signed in to change notification settings - Fork 87
resource_default_asg
ArthurHlt edited this page Aug 31, 2020
·
3 revisions
Provides a resource for modifying the default staging or running application security groups.
~> NOTE: This resource requires the provider to be authenticated with an account granted admin permissions.
The following example shows how to apply application security groups defined elsewhere in the Terraform configuration, to the default running set.
resource "cloudfoundry_default_asg" "running" {
name = "running"
asgs = [ cloudfoundry_asg.messaging.id, cloudfoundry_asg.services.id ]
}
The following arguments are supported:
-
name
- (Required) This should be one ofrunning
orstaging
-
asgs
- (Required) A list of references to application security groups IDs.
The current Default Asg can be imported using the name
(either running
or staging
constant) e.g.
$ terraform import cloudfoundry_default_asg.running <running/staging>
- 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