diff options
-rw-r--r-- | mailgun/resource_mailgun_domain.go | 2 | ||||
-rw-r--r-- | mailgun/resource_mailgun_domain_test.go | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/mailgun/resource_mailgun_domain.go b/mailgun/resource_mailgun_domain.go index 45397cf..f859230 100644 --- a/mailgun/resource_mailgun_domain.go +++ b/mailgun/resource_mailgun_domain.go | |||
@@ -425,7 +425,7 @@ func ReadDomain(d *schema.ResourceData, meta interface{}) error { | |||
425 | d.Set("unsubscribe_tracking_settings_html_footer", domainTracking.Unsubscribe.HTMLFooter) | 425 | d.Set("unsubscribe_tracking_settings_html_footer", domainTracking.Unsubscribe.HTMLFooter) |
426 | d.Set("unsubscribe_tracking_settings_text_footer", domainTracking.Unsubscribe.TextFooter) | 426 | d.Set("unsubscribe_tracking_settings_text_footer", domainTracking.Unsubscribe.TextFooter) |
427 | 427 | ||
428 | time.Sleep(20 * time.Second) | 428 | time.Sleep(25 * time.Second) |
429 | 429 | ||
430 | ipAddress, err := mg.ListDomainIPS(ctx) | 430 | ipAddress, err := mg.ListDomainIPS(ctx) |
431 | 431 | ||
diff --git a/mailgun/resource_mailgun_domain_test.go b/mailgun/resource_mailgun_domain_test.go index 12e1725..c35df48 100644 --- a/mailgun/resource_mailgun_domain_test.go +++ b/mailgun/resource_mailgun_domain_test.go | |||
@@ -208,11 +208,21 @@ func interpolateTerraformTemplateDomain(template string) string { | |||
208 | const testAccDomainConfig_basic = ` | 208 | const testAccDomainConfig_basic = ` |
209 | resource "mailgun_domain" "exemple" { | 209 | resource "mailgun_domain" "exemple" { |
210 | name="%s" | 210 | name="%s" |
211 | wildcard=true | ||
212 | credentials{ | ||
213 | login="aaaaaaa" | ||
214 | password="adfshfjqdskjhgfksdgfkqgfk" | ||
215 | } | ||
211 | } | 216 | } |
212 | ` | 217 | ` |
213 | 218 | ||
214 | const testAccDomainConfig_update = ` | 219 | const testAccDomainConfig_update = ` |
215 | resource "mailgun_domain" "exemple" { | 220 | resource "mailgun_domain" "exemple" { |
216 | name="%s" | 221 | name="%s" |
222 | credentials{ | ||
223 | login="aaaaaaa" | ||
224 | password="adfshfjqdskjhgfksdgfkqgfk" | ||
225 | } | ||
226 | |||
217 | } | 227 | } |
218 | ` | 228 | ` |