create ec2-vpc-sg-subnet-RT-igw using terraform
the following code helps you to make infrastructure. terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 4.0" } } } # Configure the AWS Provider provider "aws" { region = "us-east-1" access_key = "AKIARMGMXWTSRZUTRJDG" secret_key = "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" } # Create a VPC resource "aws_vpc" "terraformvpc" { cidr_block = "10.0.0.0/16" instance_tenancy = "default" tags = { Name = "terraformvpc" } } # create a subnet resource "aws_subnet" "terraformsubnet" { vpc_id = aws_vpc.terraformvpc.id cidr_block = "10.0.0.0/16" tags = { Name = "terraformsubnet" } } # create internet gateway resource "aws_internet_gateway" "igwterraform" { vpc_id = aws_vpc.terraformvpc.id tags =...