Skip to content

Commit

Permalink
fix(domain-record): Add dns_zone to tfstate when using terraform impo…
Browse files Browse the repository at this point in the history
  • Loading branch information
paulden authored Jan 7, 2022
1 parent fa641eb commit e41e972
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scaleway/resource_domain_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ func resourceScalewayDomainRecordRead(ctx context.Context, d *schema.ResourceDat
}

d.SetId(record.ID)
_ = d.Set("dns_zone", dnsZone)
_ = d.Set("name", record.Name)
_ = d.Set("type", record.Type.String())
_ = d.Set("data", flattenDomainData(record.Data, record.Type))
Expand Down

0 comments on commit e41e972

Please sign in to comment.