I want to validate the security group inbound and outbound rules for my terraform code using terratest. By only using init and plan (without provisioning)
I have tried using assert.contains to check the string is present inside the plan or not. But I want to specifically check the ports inside ingress and egress as I mentioned in sg.