Skip to content

OctopusSolutionsEngineering/OctoterraWizard

Repository files navigation

OctoTerra Wizard

This tool prepares an Octopus space to allow space level resources and projects to serialized to a Terraform module and reapply them in another space.

Documentation

View the docs here.

Environment variables

The default values used by the wizard are defined in environment variables:

  • OCTOTERRAWIZ_BACKEND_TYPE: Either AWS S3 or Azure Storage
  • AWS_ACCESS_KEY_ID: AWS environment variable
  • AWS_SECRET_ACCESS_KEY: AWS environment variable
  • AWS_DEFAULT_REGION: AWS environment variable
  • AWS_DEFAULT_BUCKET: The name of the S3 bucket holding the Terraform state
  • OCTOTERRAWIZ_PROMPT_FOR_DELETE: If set to true, the tool will prompt for confirmation before deleting resources
  • OCTOTERRAWIZ_USE_CONTAINER_IMAGES: If set to true, the tool will use container images to run Terraform steps
  • OCTOTERRAWIZ_AZURE_RESOURCE_GROUP: The name of the Azure resource group holding the Terraform state
  • OCTOTERRAWIZ_AZURE_STORAGE_ACCOUNT: The name of the Azure storage account holding the Terraform state
  • OCTOTERRAWIZ_AZURE_CONTAINER: The name of the Azure storage container holding the Terraform state
  • AZURE_SUBSCRIPTION_ID: Azure environment variable
  • AZURE_TENANT_ID: Azure environment variable
  • AZURE_CLIENT_ID: Azure environment variable
  • AZURE_CLIENT_SECRET: Azure environment variable

Screenshot