You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/terraform/openstack
Armon Dadgar 8c86fd1907
Bump version references
10 years ago
..
scripts Bump version references 10 years ago
README.org Adds terraform openstack provider support 10 years ago
consul.tf Adds terraform openstack provider support 10 years ago
outputs.tf Adds terraform openstack provider support 10 years ago
variables.tf Adds terraform openstack provider support 10 years ago

README.org

Terraforming consul on Openstack

1. Pre-requisites

  • Populates all variables in your terraform.tfvars

    username = "..."
    password = "..."
    tenant_name = "..."
    auth_url = "https://myopenstackprovider.com/identity/v2.0"
    public_key = "ssh-rsa AAAAB..."
    key_file_path = "..."
  • Change regions, networks, flavor and image ids in the variables.tf according to your openstack settings
  • Use an "upstart" compatible image for your consul nodes

2. Terraform for test

terraform apply

3. Terraform as a module

You should now be able to use openstack as a provider for the consul module.

module "consul" {
  source = "github.com/hashicorp/consul/terraform/openstack"
  servers = 3
}