fix: changing mounts requires ForceNew (#314)

Co-authored-by: Nolan Woods <nolan_w@sfu.ca>
This commit is contained in:
Nolan Woods 2020-12-01 06:04:07 -07:00 committed by GitHub
parent ccb7c6e8ab
commit 5a176eb763
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,6 +250,7 @@ func resourceDockerContainer() *schema.Resource {
Type: schema.TypeSet,
Description: "Specification for mounts to be added to containers created as part of the service",
Optional: true,
ForceNew: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"target": {