Can't import security_group_rule #2895
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
This is an issue without a proposed solution.
Importing security_group_rule resources is unsupported.
This is particularly true if the way you want to import the rules (e.g. put some cidrs in a module, and others elsewhere) isn't the default terraform way.
I wind up writing go code by hand to mimic ipPermissionIDHash, and inserting that into the state by hand.
It would be nice if there were an easier way to import these resources.
The text was updated successfully, but these errors were encountered: