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 Feb 27, 2018
1 parent e6526ec commit bccf3aa
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 @@ -107,7 +107,7 @@ func CreateString(d *schema.ResourceData, meta interface{}) error {
bytes[i] = chars[b%l]
}
d.Set("result", string(bytes))
d.SetId(string(bytes))
d.SetId("none")
return nil
}

Expand Down

0 comments on commit bccf3aa

Please sign in to comment.