Archived
Add live end-to-end DNS zone Terraform example
This commit is contained in:
1 parent
ba71837a59
commit
75ff4fe5b1
4 files changed
+234
No files matched your search
@@ -0,0 +1,22 @@
|
||||
variable "dynu_api_key" {
|
||||
description = "Dynu API key. Leave null to use DYNU_API_KEY from environment."
|
||||
type = string
|
||||
default = null
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "test_domain" {
|
||||
type = string
|
||||
description = "Disposable Dynu test domain to create and destroy during live end-to-end testing."
|
||||
|
||||
validation {
|
||||
condition = trimspace(var.test_domain) != ""
|
||||
error_message = "test_domain must be a non-empty domain name."
|
||||
}
|
||||
}
|
||||
|
||||
variable "test_ttl" {
|
||||
description = "TTL in seconds for disposable DNS records. Must be 0 (provider/API default) or >= 90."
|
||||
type = number
|
||||
default = 300
|
||||
}
|
||||
Reference in new issue
Block a user