set insecure_ssl and a custom site domain

pull/7628/head
Alvin Huang 7 years ago
parent 506eb40d56
commit c9665b7a9d

@ -31,6 +31,7 @@ resource "github_repository_webhook" "main" {
configuration {
content_type = "json"
url = "https://api.netlify.com/hooks/github"
insecure_ssl = false
}
depends_on = ["netlify_site.main"]
@ -46,7 +47,8 @@ Netlify Resources
resource "netlify_deploy_key" "key" {}
resource "netlify_site" "main" {
name = "${var.name}"
name = "${var.name}"
custom_domain = "${var.custom_site_domain}"
repo {
repo_branch = "${var.github_branch}"

@ -12,3 +12,8 @@ variable "github_branch" {
default = "stable-website"
description = "GitHub branch which netlify will continuously deploy."
}
variable "custom_site_domain" {
default = "packer.io"
description = "The custom domain to use for the Netlify site."
}
Loading…
Cancel
Save