AWS task 3
Create a terraform code to
1. Create a VPC
2. In that VPC create 2 subnets
a) public subnet
b) private subnet
3. Create an internet gateway and connect it to the public subnet.
4. Create a routing table for the Internet gateway, update and associate it with
the public subnet.
5. Launch an ec2 instance using WordPress AMI having the security group allowing
port 80 in a public…