This repository contains Terraform scripts for creating networking resources in AWS and OCI.
The AWS scripts create the following resources:
- A VPC with a specified CIDR block.
- A public subnet.
- An Internet Gateway.
- A public route table and associates it with the public subnet.
- Navigate to the
aws/networking/vpc
directory. - Initialize Terraform:
terraform init
- Review the plan:
terraform plan
- Apply the changes:
terraform apply
The OCI scripts create the following resources:
- A VCN with a specified CIDR block.
- A subnet.
- An Internet Gateway.
- A route table and associates it with the subnet.
- A security list that allows SSH ingress and all egress traffic.
- Navigate to the
oci/networking/vcn
directory. - Initialize Terraform:
terraform init
- Review the plan:
terraform plan
- Apply the changes:
terraform apply