Skip to content

Commit 152aa0c

Browse files
authored
terraform: remove modules in repo (hashicorp#5085)
* terraform: remove modules in repo These are not currently being maintained and tested, and were created prior to the existence of the Terraform Module Registry, which is the more appropriate way to share and distribute modules. In an effort to limit confusion of the purpose of these modules and not encourage usage of something we aren't confident about, this removes them from this repository. You can still access these modules if you depend on them by pinning to a specific ref in Git. It is recommended you pin against a recent major version where these modules existed: ``` module "consul-aws" { source = "git::https://github.com/hashicorp/consul.git//terraform/aws?ref=v1.4.0" } ``` More detail about module sources can be found on this page: https://www.terraform.io/docs/modules/sources.html * terraform: add a readme for anyone who can't find the modules
1 parent f45e495 commit 152aa0c

30 files changed

+12
-900
lines changed

terraform/README.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
# Terraform Modules
1+
These Terraform modules were removed from GitHub in [GH-5085](https://github.com/hashicorp/consul/pull/5085).
22

3-
This folder contains modules for Terraform that can setup Consul for
4-
various systems. The infrastructure provider that is used is designated
5-
by the folder above. See the `variables.tf` file in each for more documentation.
3+
These are not currently being maintained and tested, and were created prior to the existence of the Terraform Module Registry, which is the more appropriate way to share and distribute modules.
64

7-
To deploy Consul in multiple Subnets/AZ on AWS - supply: -var 'vpc_id=vpc-1234567' -var 'subnets={ "0" = "subnet-12345", "1" = "subnet-23456", "2" = "subnet-34567"}'
5+
In an effort to limit confusion of the purpose of these modules and not encourage usage of something we aren't confident about, this removes them from this repository.
6+
7+
You can still access these modules if you depend on them by pinning to a specific ref in Git. It is recommended you pin against a recent major version where these modules existed:
8+
9+
module "consul-aws" {
10+
source = "git::https://github.com/hashicorp/consul.git//terraform/aws?ref=v1.4.0"
11+
}
12+
More detail about module sources can be found on this page:
13+
14+
https://www.terraform.io/docs/modules/sources.html

terraform/aws/README.md

-26
This file was deleted.

terraform/aws/consul.tf

-76
This file was deleted.

terraform/aws/outputs.tf

-3
This file was deleted.

terraform/aws/variables.tf

-105
This file was deleted.

terraform/digitalocean/README.md

-30
This file was deleted.

terraform/digitalocean/consul.tf

-40
This file was deleted.

terraform/digitalocean/outputs.tf

-7
This file was deleted.

terraform/digitalocean/terraform.tfvars.example

-5
This file was deleted.

terraform/digitalocean/variables.tf

-26
This file was deleted.

terraform/google/README.md

-33
This file was deleted.

0 commit comments

Comments
 (0)