forked from hashicorp/terraform-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/aws_route: Support changing network_interface_id
The fix in hashicorp/terraform#7686 causes the exact same bug in reverse (if you specify network_interface_id in config, apply, and then change the network_interface_id, it will apply the old instance_id, which is a no-op). This checks which has changed from the instance state, allowing us to change either network_interface_id or instance_id correctly.
- Loading branch information
1 parent
65dcda3
commit 10aaccc
Showing
2 changed files
with
41 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters