terraform-provider-quantum

command module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

README

terraform-provider-quantum

A custom provider for terraform.

Coveo Build Status Go Report Card

Installation

  1. Download the latest release for your platform
  2. rename the file to terraform-provider-quantum
  3. Copy the file to the same directory as terraform dirname $(which terraform) is installed

Usage

quantum_list_files
Example Usage

Returns a list of files from a directory

data "quantum_list_files" "data_files" {
  folders   = ["./data"]
  patterns  = ["*.txt", "*.doc*"]
  recursive = true
}

The output will look like this:

data.quantum_list_files.data_files.files = ["./data/file1.txt", "./data/file2.docx"]
Argument Reference
  • folders - (Optional) - The source list for folders
  • patterns - (Optional) - The patterns to match files, uses golang's filepath.Match
  • recursive - (Optional) - Default false, walk directory recursively
Attributes Reference
  • files - The list of matched files

Develop

go get github.com/coveo/terraform-provider-quantum
cd $GOPATH/src/github.com/coveo/terraform-provider-quantum
go get ./...
$EDITOR .

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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