mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #4264 from h-imaoka/b-aws-vpce-fix
providers_aws_vpce issue #4137
This commit is contained in:
commit
058b55635e
@ -119,12 +119,12 @@ func resourceAwsVPCEndpointUpdate(d *schema.ResourceData, meta interface{}) erro
|
||||
os := o.(*schema.Set)
|
||||
ns := n.(*schema.Set)
|
||||
|
||||
add := expandStringList(os.Difference(ns).List())
|
||||
add := expandStringList(ns.Difference(os).List())
|
||||
if len(add) > 0 {
|
||||
input.AddRouteTableIds = add
|
||||
}
|
||||
|
||||
remove := expandStringList(ns.Difference(os).List())
|
||||
remove := expandStringList(os.Difference(ns).List())
|
||||
if len(remove) > 0 {
|
||||
input.RemoveRouteTableIds = remove
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user