mirror of
https://github.com/hashicorp/terraform-tfe-terraform-versions
synced 2026-04-05 19:04:10 +00:00
No description
- Shell 95.1%
- HCL 4.9%
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> |
||
|---|---|---|
| files | ||
| scripts | ||
| LICENSE | ||
| main.tf | ||
| README.md | ||
| variables.tf | ||
terraform-tfe-terraform-versions
Note: this module requires a version of the tfe provider >=0.28
A Terraform module to manage official Terraform versions on TFE
Getting Started
module "terraform-versions" {
source = "hashicorp/terraform-versions"
enabled_versions = ["1.1.4", "1.1.3", "1.0.0"]
}
Importing versions
Since none of these resources will be created you'll need to import them. We've provided
a handy script scripts/import_versions.sh that will import for you. This script expects a module name
passed as an argument.
In your root module:
./.terraform/modules/terraform-versions/scripts/import_versions.sh terraform-versions