This repository contains the Terraform module code to manage a Netlify site.
module "netlify_site" {
source = "nephosolutions/site/netlify"
version = "1.0.0"
# insert the 3 required variables here
}
Name | Version |
---|---|
terraform | >= 0.12.26 |
Name | Version |
---|---|
github | n/a |
netlify | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
custom_domain | Custom domain of the site, must be configured using a CNAME in accordance with Netlify's docs. (e.g. www.example.com) | any |
null |
no |
github | The configuration of your Github organization and repository | object({ |
n/a | yes |
name | Name of your site on Netlify (e.g. mysite.netlify.app) | any |
n/a | yes |
production_branch | The Git branch from which production deploys will be build | string |
"master" |
no |
Name | Description |
---|---|
custom_domain | Custom domain of the site, must be configured using a CNAME in accordance with Netlify's docs. (e.g. www.example.com) |
name | Name of your site on Netlify (e.g. mysite.netlify.app) |