Skip to content

Commit

Permalink
fix import okta_domain
Browse files Browse the repository at this point in the history
Signed-off-by: Tien Nguyen <[email protected]>
  • Loading branch information
duytiennguyen-okta committed Aug 12, 2024
1 parent bae5ae0 commit fc193b9
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 fc193b9

Please sign in to comment.