Is there a way to manage AWS security Groups in Terraform to edit rules for an existing SG?
e.g: If I provision a new instance the ingress rules of an existing SG is updated to allow the newly provisioned instance. The SG also needs to update when an instance terminates.
Feel free to suggest other common practices if not directly supported via Terraform.