From 6f4b7b25c6b1540ed26ff5b3c15621e9b5eaad05 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Tue, 28 Apr 2015 09:19:49 -0400 Subject: [PATCH] providers/dnsimple: default ttl to 3600 Since the field is optional and DNSimple defaults it to 3600 on their end, `terraform plan` currently will report `ttl: "3600" => ""`. --- builtin/providers/dnsimple/resource_dnsimple_record.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/providers/dnsimple/resource_dnsimple_record.go b/builtin/providers/dnsimple/resource_dnsimple_record.go index e3669c3c3..dc7cb6172 100644 --- a/builtin/providers/dnsimple/resource_dnsimple_record.go +++ b/builtin/providers/dnsimple/resource_dnsimple_record.go @@ -49,6 +49,7 @@ func resourceDNSimpleRecord() *schema.Resource { "ttl": &schema.Schema{ Type: schema.TypeString, Optional: true, + Default: "3600", }, "priority": &schema.Schema{