Skip to main content

Simple utility to generate a configuration manifest from a live CloudFoundry installation

Project description

# cf-configuration-exporter

`cf-configuration-exporter` is a simple utility whose aim is to generate a
configuration manifest from a live installation of CloudFoundry.

The utility is meant to be used either in combination with the CF configurator project:


or with the following terraform provider:


and helps you get started with an initial manifest or terraform resources without having to extract manually
all the information needed.

The code is compatible with Python 3

Documentation of the APIs used:



## Example

Install via pip: `pip install cf-configuration-exporter`

## Upload to PyPI

1. Create a `.pypirc` configuration file. This file holds your information for authenticating with PyPI.

index-servers = pypi

2. Login and upload it to PyPI

python register -r pypi
python sdist upload -r pypi


Define the following env variables:

`EXPORTER_API_URL` = the endpoint of the Cloudfoundry API
`EXPORTER_ADMIN_USER` = username used for logging in to CloudFoundry
`EXPORTER_ADMIN_PASSWORD` = password used for logging in to Cloudfoundry
`EXPORTER_EXCLUDE_ENV_VARS` = list of `,` separated strings. The env variables whose name starts by
one of the prefixes listed will not be exported.

You can run the utility by executing the run script:


or after installing the pip package

python install

by running


## Author

Springer Nature Platform Engineering, Claudio Benfatto (

Copyright 2017 Springer Nature

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cf-configuration-exporter-0.0.13.tar.gz (16.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page