terraform-provider-dirtree

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

README

Local Dirtree Terraform Provider

This is a Terraform data provider, giving a simple way to reference the names of files in some directory structure (probably in source control adjacent to a module) to, say, interpolate lots of templates in one go. This is useful in a case where template files will come and go from a project, and maintaining parallel file(path) definitions manually in the terraform would be tiresome.

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go build command:
$ go build

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run go generate. Documentation is currently built with a branch of a fork of tfplugindocs, found here. At the root of this repo, run tfplugindocs compiled from that branch.

In order to run the acceptance tests, run make testacc.

$ make testacc

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