How do you use Terraform to add a rule to an AWS Security Group?

Can someone tell me what would need to be included in the (I believe)  instance.tf file? Or if I should be working with another file name to instantiate the rule please let me know. I'm new to both AWS and Terraform.
LVL 1
amigan_99Network EngineerAsked:
Who is Participating?
 
Prabhin MPConnect With a Mentor Engineer-TechOPSCommented:
Hi ,
Please refer the following link to know about the terraform to add security groups,
https://www.terraform.io/docs/providers/aws/r/security_group.html
0
 
David Johnson, CD, MVPConnect With a Mentor OwnerCommented:
there are many articles about using terraform with AWS,
Here is just one: https://aws.amazon.com/blogs/apn/terraform-beyond-the-basics-with-aws/
0
 
amigan_99Network EngineerAuthor Commented:
Great thank you much
1
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.