Skip to content

yext/terraform-provider-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Provider Site

Requirements

  • Terraform 0.14.x
  • Go 1.19 (to build the provider plugin)

Building

$ git clone [email protected]:yext/terraform-provider-site
$ cd terraform-provider-site
$ go build

Installation

  • Install the plugin per these instructions.
  • 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 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.