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 :: how to connect raspberry pi to laptop using hdmi 
Shell :: github change commit date 
Shell :: pylint 
Shell :: substring in string shell 
Shell :: cat in bash shell 
Shell :: bash compare two strings 
Shell :: Cocoapods not found in android studio but flutter run works 
Shell :: install babel language 
Shell :: download file github 
Shell :: remover completamente programa terminal ubuntu 
Shell :: ssh to lightsail 
Shell :: delete all files in a folder linux 
Shell :: Push to an existing repository form command line 
Shell :: codeception environnement variable not found 
Shell :: Add or remove published service ports of an existing service 
Shell :: create aws ec2 launch template 
Shell :: ffmpeg scale but keep aspect ratio 
Shell :: linux convert to sha512 
Shell :: nativescript/theme with nativescript 8 
Shell :: zotero linux chromeos 
Shell :: how do i get buster and gnome chromebook 
Shell ::  
Shell ::  
Shell :: how to open pg_hba.conf file in ubuntu using visual studio 
Shell :: regex prenom et nom compose 
Shell :: ubuntu restart network manager when ping is low 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =