-
Notifications
You must be signed in to change notification settings - Fork 87
Home
Arthur Halet edited this page Aug 31, 2020
·
17 revisions
Requirements: You need, of course, terraform (>=0.11.14) which is available here: https://www.terraform.io/downloads.html
To install a specific version, set PROVIDER_CLOUDFOUNDRY_VERSION before executing the following command
$ export PROVIDER_CF_VERSION="v0.10.0"
$ bash -c "$(curl -fsSL https://raw.github.com/cloudfoundry-community/terraform-provider-cloudfoundry/master/bin/install.sh)"
$ bash -c "$(wget https://raw.github.com/cloudfoundry-community/terraform-provider-cloudfoundry/master/bin/install.sh -O -)"
- Get the build for your system in releases: https://github.com/cloudfoundry-community/terraform-provider-cf/releases/latest
- Create a
plugins/<os>_<arch>/
directory inside terraform user folder for your:mkdir -p ~/.terraform.d/plugins/linux_amd64
or.terraform.d/plugins/darwin_amd64
for mac. - Move the provider previously downloaded in this folder:
mv /path/to/download/directory/terraform-provider-cloudfoundry ~/.terraform.d/plugins/<os>_<arch>/
- Ensure provider is executable:
chmod +x ~/.terraform.d/plugins/<os>_<arch>/terraform-provider-cloudfoundry
- you can now performs any terraform action on cloudfoundry resources
https://github.com/mevansam/spring-cloud-data-flow-terraform
- 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