-
Notifications
You must be signed in to change notification settings - Fork 87
resource_evg
ArthurHlt edited this page Dec 11, 2019
·
2 revisions
Provides a resource for modifying the running or staging environment variable groups in Cloud Foundry.
~> NOTE: This resource requires the provider to be authenticated with an account granted admin permissions. ~> NOTE: Resource will only modify env var group managed by itself (will not destroy or affect previous env vars set outside of terraform).
The example below shows how to add environment variables to the running environment variable group.
resource "cloudfoundry_evg" "running" {
name = "running"
variables = {
name1 = "value1"
name2 = "value2"
name3 = "value3"
name4 = "value4"
}
}
The following arguments are supported:
-
name
- (Required) Eitherrunning
orstaging
to indicate the type of environment variable group to update -
variables
- (Required) A map of name-value pairs of environment variables
The current Evg can be imported using the evg
name (either running
or staging
constant) e.g.
$ terraform import cloudfoundry_evg.private <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