terraform

command module
v0.0.0-...-142b8bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

README

Terraform Provider Plugin

Installation

  1. Clone the plugin:
git clone git@github.com:gravitational/teleport-plugins
  1. Install the plugin to Teleport:
cd teleport-plugins/terraform
make install
  1. Configure teleport:
tctl create example/teleport.yaml
tctl auth sign --format=file --user=terraform --out=terraform-identity --ttl=10h

Move generated keys to the desired location.

  1. If you desire to use an example for testing:
cp example/vars.tfvars.example example/vars.tfvars

Edit vars.tfvars and set path to certificate files which were generated in the previous step.

Regenerating the schema

go install github.com/gravitational/protoc-gen-terraform
make gen-schema

Usage

See example/*.tf for available configuration options. make apply to do an initial application of this configuration to your Terraform cluster.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL