Skip to content

Commit

Permalink
Merge pull request #2062 from okta/OKTA-631379-fix-import-okta-domain
Browse files Browse the repository at this point in the history
fix import okta_domain
  • Loading branch information
duytiennguyen-okta authored Aug 12, 2024
2 parents a020024 + fc193b9 commit cb2324f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions okta/resource_okta_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func resourceDomain() *schema.Resource {
"brand_id": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "Brand id of the domain",
},
"dns_records": {
Expand Down Expand Up @@ -114,6 +115,8 @@ func resourceDomainRead(ctx context.Context, d *schema.ResourceData, m interface
}

d.Set("name", domain.GetDomain())
d.Set("certificate_source_type", domain.GetCertificateSourceType())
d.Set("brand_id", domain.GetBrandId())

if vd != nil {
_ = d.Set("validation_status", vd.GetValidationStatus())
Expand Down

0 comments on commit cb2324f

Please sign in to comment.