Skip to content

Commit

Permalink
Set ID to 'none' for random_string
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginja committed Aug 13, 2018
1 parent 261db0b commit ac99706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion random/resource_string.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func CreateString(d *schema.ResourceData, meta interface{}) error {
})

d.Set("result", string(result))
d.SetId(string(result))
d.SetId("none")
return nil
}

Expand Down

0 comments on commit ac99706

Please sign in to comment.