Skip to main content

Utilties for backing up TFE Workspace Configurations as Terraform Code

Project description

# TFE_WorkspaceBackup This tool provides the ability to backup terraform enterprise workspaces. It will use the TFE Rest API and collect data about your workspaces, then using templates, will create proper terraform configurations to allow you to rebuild the workspaces.

## Usage

### Backup All Workspaces in Organization: The following command will: - backup all workspaces in an organization - format the configuration files correctly - validate the configuration files - perform init to to update the providers `bash tfe-backup -o <tfe_organization_name> -b <base_directory> --fmt --init --validate `

### Backup Single Workspace in Organization: The following command will: - backup a single in an organization - format the configuration files correctly - validate the configuration files - perform init to to update the providers `bash tfe-backup -o <tfe_organization_name> -w <workspace_name> -b <base_directory> --fmt --init --validate `

### Clone Single Workspace in Organization: The following command will: - backup a single in an organization - set name of workspace in configuration to new workspace name - write out configuration for new workspace into a properly named configuration file - format the configuration files correctly - validate the configuration files - perform init to to update the providers `bash tfe-backup -o <tfe_organization_name> -w <workspace_name> --new-ws <new_workspace_name -b <base_directory> --fmt --init --validate `

Project details


Download files

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

Files for tfe-backup, version 10.0.42
Filename, size File type Python version Upload date Hashes
Filename, size tfe_backup-10.0.42-py2-none-any.whl (11.6 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size tfe-backup-10.0.42.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page