drewbo / deploy-credhub

Concourse pipeline to bosh deploy credhub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deploy-credhub

Concourse pipeline to bosh deploy credhub

Terraform Providers

Credhub

Example setting up local terraform provider

With the update to terraform >v0.13, an update to the .terraformrc file will have to specify the local provider filesystem mirror.

Sample .terraformrc

# The example assumes you put all of you local providers in
# the directory at the path of `~/terraform-providers/local/providers/*`

provider_installation {
  filesystem_mirror {
    path    = "~/terraform-providers/"
    include = ["local/providers/*"]
  }
  direct {
    exclude = ["local/providers/*"]
  }
}

Next, you will need to add you local provider in the above path by .../<NAME>/<VERSION>/<PLATFORM>/<PROVIDER_BUILD>

Example provider path for a-local-provider using v1.0.0: ~/terraform-providers/local/providers/a-local-provider/1.0.0/linux_amd64/terraform-provider-a-local-provider

Finally, remember to source you local provider path for the provider in the required_providers block.

ie.

terraform {
  required_providers {
    a-local-provider = {
      source  = "local/providers/a-local-provider
      version = “1.0.0”
    }
  }
  ...
}

About

Concourse pipeline to bosh deploy credhub

License:Other


Languages

Language:HCL 100.0%