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 :: make atom default editor in git 
Shell :: Install All Nerd Fonts 
Shell :: check intellij version 
Shell :: sed replace into new file 
Shell :: shell themes for ubuntu 
Shell :: connect ftp terminal ubuntu 
Shell :: merge another branch into current 
Shell :: search for substring 
Shell :: merging a branch to master 
Shell :: vim set paste 
Shell :: how to get list folder in cmd to value 
Shell :: git create branch 
Shell :: git add . 
Shell :: packet tracer 2.7.1 Full Config BC-3 Router 
Shell :: std error bash 
Shell :: go test color output 
Shell :: nvm update specifiec version 
Shell :: grepper kill a server 
Shell :: linux check memory occupied by a file and folder 
Shell :: ssh change pasword to key file 
Shell :: ubuntu extract img.xz 
Shell :: linux convert to md5 
Shell :: git branch not clean 
Shell :: mongo import all from bson 
Shell :: webpack for old browser 
Shell :: git command change to previous comit 
Shell :: sudo systemctl enable journalbeat sudo systemctl start journalbeat 
Shell :: linux autohide cursor 
Shell :: convert shell script to yaml 
Shell :: what if i dont want gui in ubuntu 20.04 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =