[Enhancement]: Support terraform state mv from aws_security_group_rule to aws_vpc_security_group_egress_rule and aws_vpc_security_group_ingress_rule #36913
Terraform 1.8 now supports: Providers can now transfer the ownership of a remote object between resources of different types, for situations where there are two different resource types that represent the same remote object type.
It would be really great to support this for the new security group rule resources, as migrating is currently not supported by the state mv syntax
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
Terraform 1.8 now supports:
Providers can now transfer the ownership of a remote object between resources of different types, for situations where there are two different resource types that represent the same remote object type.
It would be really great to support this for the new security group rule resources, as migrating is currently not supported by the
state mv
syntaxAffected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
No response
References
https://github.com/hashicorp/terraform/blob/v1.8/CHANGELOG.md
Would you like to implement a fix?
None