Skip to content

Commit

Permalink
fix for Constellix#13
Browse files Browse the repository at this point in the history
There was a typo that was causing terraform to not properly import the records from constellix to terraform
  • Loading branch information
LanceSandino authored Oct 8, 2020
1 parent 4e5aefa commit 9f2503a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constellix/resource_constellix_txt_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func resourceConstellixTxtImport(d *schema.ResourceData, m interface{}) ([]*sche
tpMap := make(map[string]interface{})
inner := val.(map[string]interface{})
tpMap["value"] = fmt.Sprintf("%v", inner["value"])
tpMap["disableFlag"] = fmt.Sprintf("%v", inner["disableFlag"])
tpMap["disable_flag"] = fmt.Sprintf("%v", inner["disableFlag"])
mapListRR = append(mapListRR, tpMap)
}

Expand Down

0 comments on commit 9f2503a

Please sign in to comment.