Skip to content

josephphyo/aws-infra-pipeline-demo

Repository files navigation

Requirements

Name Version
terraform ~> v0.15.0
aws ~> 3.20.0
local ~> 2.0.0
random ~> 3.0.0
tls ~> 3.0.0

Providers

Name Version
aws ~> 3.20.0
local ~> 2.0.0
random ~> 3.0.0
tls ~> 3.0.0

Modules

Name Source Version
key_pair terraform-aws-modules/key-pair/aws
vpc terraform-aws-modules/vpc/aws 2.64.0
web_service_sg terraform-aws-modules/security-group/aws

Resources

Name Type
aws_eip.lb resource
aws_instance.webserver resource
local_file.private_key resource
random_pet.this resource
tls_private_key.this resource
aws_ami.amazon data source

Inputs

Name Description Type Default Required
azs n/a list(string)
[
"ap-southeast-1a",
"ap-southeast-1b"
]
no
cidr n/a string "192.168.0.0/16" no
eip_vpc n/a bool true no
instance_type n/a string "t3.micro" no
is_enable_natgw n/a bool true no
is_one_natgw_per_az n/a bool false no
is_single_natgw n/a bool true no
name n/a string "demo_vpc" no
pri_sub n/a list(string)
[
"192.168.1.0/24",
"192.168.2.0/24"
]
no
pub_sub n/a list(string)
[
"192.168.3.0/24",
"192.168.4.0/24",
"192.168.5.0/24"
]
no

Outputs

Name Description
eip_attached_instance EIP Attached Instance ID
key_name Ec2 Pem Key Name
natgateway_public_ip Nat gateway public ip
private_cidr Private Subnets
public_cidr Public Subnets

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages