Create Terraform from an existing Tenant
  • 02 Dec 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create Terraform from an existing Tenant

  • Dark
    Light
  • PDF

Article Summary

While EchoStream provides a fully-featured UI allowing the graphical design, development and management of your Tenant's processing network, you may have a use case that requires turning that Tenant's network into Infrastructure as Code (IaC).

Some use cases that may require this:

  • You need to be able to snapshot and backup a version of your Tenant's processing network and potentially restore it in the future.
  • You need to be able to replicate that Tenant's processing network in other Tenant's, or make it available to clients or partners.
  • You wish to construct all aspects of your processing network using IaC; not just the EchoStream resources, but external resources such as ExternalNodes, ManagedApps and the resrouces that support them.
  • You have a directive that all production systems must be managed as IaC.

EchoStream provides the echostream-terrafy so that you can have the best of both worlds; the full power and speed of the EchoStream UI and the full IaC control of Terraform.

echostream-terrafy extracts the current state of your Tenant and creates fully functional Terraform scripts and a statefile. These scripts can be:

  • Used as-is to manage your Tenant's resources going forward.
  • Converted to a Terraform module for reuse.
  • Saved as a backup of the point-in-time state of your Tenant.

For details on how to install and use echostream-terrafy, please refer to the Project Description in PyPI.


What's Next