Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

aws terraform vpc

resource "aws_vpc" "<name your vpc>" {
  cidr_block = "10.0.0.0/16"

	tags = { (optional)
  		Name = "<name your vpc>"
	}
}
Comment

vpc terraform

resource “aws_vpc” “prod-vpc” {
    cidr_block = “10.0.0.0/16”
    enable_dns_support = “true” #gives you an internal domain name
    enable_dns_hostnames = “true” #gives you an internal host name
    enable_classiclink = “false”
    instance_tenancy = “default”    
    
    tags {
        Name = “prod-vpc”
}
}
Comment

terraform vpc

module "vpc" {
  source  = "terraform-aws-modules/vpc/aws"
  version = "3.13.0"
}
Comment

terraform VPC setup

//network.tf
resource "aws_vpc" "test-env" {
  cidr_block = "10.0.0.0/16"
  enable_dns_hostnames = true
  enable_dns_support = true
  tags {
    Name = "test-env"
  }
}
Comment

PREVIOUS NEXT
Code Example
Shell :: read -p linux 
Shell :: how to push to a new branch in gitlab 
Shell :: shortcut key for screenshot in windows 7 
Shell :: linux delete file content 
Shell :: how to compare a character to uppercase in bash script 
Shell :: create powershell profile 
Shell :: grep Matching options 
Shell :: how to push existing git repository 
Shell :: ssh: could not resolve hostname gitlab.example.com: name or service not known 
Shell :: how to I paste in gitbash windows 
Shell :: error installing cocoapods mac 
Shell :: add new file to context menu win 10 11 
Shell :: verify large directory after copy files 
Shell :: statistical inference project part 1 github 
Shell :: mozart install mac 
Shell :: linux get notification if bettery full 
Php :: default time zone india php 
Php :: info.php 
Php :: how to create random alphanumeric in php 
Php :: order by date wp php 
Php :: smarty assign var 
Php :: php get current domain 
Php :: laravel password confirmation 
Php :: php time script 
Php :: laravel storage hard link 
Php :: php if url contains 
Php :: Composer detected issues in your platform: Your Composer dependencies require a PHP version "= 7.3.0". 
Php :: laravel inrandomorder 
Php :: php base64 
Php :: how to get category from post id 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =