Introduction
You can automate the installation of Terraform Enterprise for both online and airgapped environments. This guide explains how to retrieve snapshot storage parameters from an existing instance for use in an automated installation. These parameters define the settings for the Replicated installer in the /etc/replicated.conf file.
Prerequisites
- An existing Terraform Enterprise instance that is already configured with snapshot backup functionality.
- SSH access to the existing Terraform Enterprise instance.
- A new host prepared for the automated installation of Terraform Enterprise.
Procedure
Follow these steps to retrieve the snapshot settings and apply them to a new automated installation.
-
On an existing Terraform Enterprise instance, log in via SSH. Run the
replicatedctl params exportcommand to export the current settings.$ replicatedctl params export
- Copy the command output. On the new host where the automated installation will take place, paste the output into the
/etc/replicated.conffile. - Proceed with the automated installation process as described in the official documentation.
Additional Information
- For detailed steps on automation, refer to the Automating the Installer documentation.
- For more details on snapshot configuration, see the Replicated Snapshots CLI documentation.