An open API service indexing awesome lists of open source software.

https://github.com/yext/terraform-provider-site


https://github.com/yext/terraform-provider-site

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Terraform Provider Site

## Requirements

- [Terraform](https://www.terraform.io/downloads.html) 0.14.x
- [Go](https://golang.org/doc/install) 1.19 (to build the provider plugin)

## Building

```sh
$ git clone git@github.com:yext/terraform-provider-site
$ cd terraform-provider-site
$ go build
```

## Installation

- Install the plugin per [these instructions](https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin).
- After placing it into your plugins directory, run `terraform init` to initialize it.

# Data Resources

## site_filter

### Inputs

#### `site_yamls`

- Type: `map(string)`
- Required

A map of site config YAMLs, keyed by site ID.

#### `filter`

- Type: `string`
- Required

A valid [github.com/gobwas/glob](https://github.com/gobwas/glob) glob for matching site
fully-qualified names (FQN's).

#### `separator`

- Type: `string`
- Optional (default: `"."`)

A single-character separator for the glob.

### Outputs

#### `sites`

- Type: `set(string)`

A set of site IDs from the keys of `site_yamls`, whose FQNs match `filter`.