Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws.ec2.SecurityGroupRule: Ensure DeleteBeforeReplace
The current implementation of SGRule means that only description can be changed. Everything else on the resource is ForceNew by default Unfortunately, when a SGRule changes, we try and create a new rule before deleting the old one. We can't create 2 rules of the same in a SG therefore, we get an error This ensures we delete the rule first before creating the new one
- Loading branch information