Introduction
Problem
Installing or reinstalling Terraform Enterprise with errors with "License bootstrap failed: install license online: import license properties: license has expired"
Cause
-
Terraform Enterprise licenses can be set to ignore any expiration dates, but this only applies to an installed and running instance of TFE.
- Any new install of TFE either manually, via a pipeline or auto-scaling group (ASG) will run the `installer.sh` and enforce the expiration date.
- Later versions of Replicated will restrict the restart and update of TFE installations with an expired license.
Solutions:
-
Please contact your Hashicorp account team to procure an up to date license
- For online installs, the account team will extend the expiration date for customers with a valid sales agreement and then a resync of the license from the admin console will resolve the issue.
- For airgap installs, the Hashicorp team will need to provide a new license file with the new expiration for the ASG or installer to use.
Additional Info:
https://support.hashicorp.com/hc/en-us/articles/1500002258581-Updating-Terraform-Enterprise-License