aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlexandre Garand <alexandre.garand@fretlink.com>2019-08-02 14:31:36 +0200
committerAlexandre Garand <alexandre.garand@fretlink.com>2019-08-02 14:31:36 +0200
commit14eb80abd418ef94f851caaf8dae1654e0296475 (patch)
treec39ed3e34defe7dd57c7716abd9642f759bfbb26
parent05fbf6137af57797ad3be7bdd548516fb954e93a (diff)
downloadterraform-provider-mailgun-14eb80abd418ef94f851caaf8dae1654e0296475.tar.gz
terraform-provider-mailgun-14eb80abd418ef94f851caaf8dae1654e0296475.tar.zst
terraform-provider-mailgun-14eb80abd418ef94f851caaf8dae1654e0296475.zip
fix smtp
-rw-r--r--mailgun/resource_mailgun_domain.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/mailgun/resource_mailgun_domain.go b/mailgun/resource_mailgun_domain.go
index c6bc775..48f3a1a 100644
--- a/mailgun/resource_mailgun_domain.go
+++ b/mailgun/resource_mailgun_domain.go
@@ -376,11 +376,10 @@ func ReadDomain(d *schema.ResourceData, meta interface{}) error {
376 if err != nil { 376 if err != nil {
377 return fmt.Errorf("Error Getting mailgun domain Details for %s: Error: %s", d.Id(), err) 377 return fmt.Errorf("Error Getting mailgun domain Details for %s: Error: %s", d.Id(), err)
378 } 378 }
379
380 d.Set("created_at", domainResponse.Domain.CreatedAt.String()) 379 d.Set("created_at", domainResponse.Domain.CreatedAt.String())
381 d.Set("smtd_login", domainResponse.Domain.SMTPLogin) 380 d.Set("smtp_login", domainResponse.Domain.SMTPLogin)
382 d.Set("name", domainResponse.Domain.Name) 381 d.Set("name", domainResponse.Domain.Name)
383 d.Set("smtd_password", domainResponse.Domain.SMTPPassword) 382 d.Set("smtp_password", domainResponse.Domain.SMTPPassword)
384 d.Set("wildcard", domainResponse.Domain.Wildcard) 383 d.Set("wildcard", domainResponse.Domain.Wildcard)
385 d.Set("spam_action", domainResponse.Domain.SpamAction) 384 d.Set("spam_action", domainResponse.Domain.SpamAction)
386 d.Set("state", domainResponse.Domain.State) 385 d.Set("state", domainResponse.Domain.State)