migrate from fastly_domain_v1 to fastly_domain
This commit is contained in:
1 parent
b17c1576bb
commit
9e32063121
2 files changed
+4
-4
No files matched your search
@@ -58,7 +58,7 @@ resource "fastly_service_acl_entries" "purge_ip_whitelist" {
|
||||
}
|
||||
}
|
||||
|
||||
resource "fastly_domain_v1" "domain" {
|
||||
resource "fastly_domain" "domain" {
|
||||
fqdn = "${var.domain}"
|
||||
service_id = fastly_service_vcl.service.id
|
||||
}
|
||||
+3
-3
@@ -5,12 +5,12 @@ variable "domain" {
|
||||
|
||||
variable "backend" {
|
||||
type = string
|
||||
default = "rznet.fr"
|
||||
default = "git.rznet.fr"
|
||||
}
|
||||
|
||||
variable "backend_cert_hostname" {
|
||||
type = string
|
||||
default = "rznet.fr"
|
||||
default = "dev.git.rznet.fr"
|
||||
}
|
||||
|
||||
variable "default_ttl" {
|
||||
@@ -36,5 +36,5 @@ variable "enable_brotli" {
|
||||
variable "purge_allowed_ips" {
|
||||
type = list(string)
|
||||
description = "List of IP addresses/CIDR blocks allowed to send PURGE requests"
|
||||
default = ["51.159.107.20"]
|
||||
default = ["93.127.158.63"]
|
||||
}
|
||||
Reference in new issue
Block a user