Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/josephphyo/aws-infra-pipeline-demo

aws-infra-pipeline-demo
https://github.com/josephphyo/aws-infra-pipeline-demo

aws demo terraform workshop

Last synced: 2 months ago
JSON representation

aws-infra-pipeline-demo

Awesome Lists containing this project

README

        

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~> v0.15.0 |
| [aws](#requirement\_aws) | ~> 3.20.0 |
| [local](#requirement\_local) | ~> 2.0.0 |
| [random](#requirement\_random) | ~> 3.0.0 |
| [tls](#requirement\_tls) | ~> 3.0.0 |

## Providers

| Name | Version |
|------|---------|
| [aws](#provider\_aws) | ~> 3.20.0 |
| [local](#provider\_local) | ~> 2.0.0 |
| [random](#provider\_random) | ~> 3.0.0 |
| [tls](#provider\_tls) | ~> 3.0.0 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| [key\_pair](#module\_key\_pair) | terraform-aws-modules/key-pair/aws | |
| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 2.64.0 |
| [web\_service\_sg](#module\_web\_service\_sg) | terraform-aws-modules/security-group/aws | |

## Resources

| Name | Type |
|------|------|
| [aws_eip.lb](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip) | resource |
| [aws_instance.webserver](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance) | resource |
| [local_file.private_key](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file) | resource |
| [random_pet.this](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | resource |
| [tls_private_key.this](https://registry.terraform.io/providers/hashicorp/tls/latest/docs/resources/private_key) | resource |
| [aws_ami.amazon](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [azs](#input\_azs) | n/a | `list(string)` |

[
"ap-southeast-1a",
"ap-southeast-1b"
]
| no |
| [cidr](#input\_cidr) | n/a | `string` | `"192.168.0.0/16"` | no |
| [eip\_vpc](#input\_eip\_vpc) | n/a | `bool` | `true` | no |
| [instance\_type](#input\_instance\_type) | n/a | `string` | `"t3.micro"` | no |
| [is\_enable\_natgw](#input\_is\_enable\_natgw) | n/a | `bool` | `true` | no |
| [is\_one\_natgw\_per\_az](#input\_is\_one\_natgw\_per\_az) | n/a | `bool` | `false` | no |
| [is\_single\_natgw](#input\_is\_single\_natgw) | n/a | `bool` | `true` | no |
| [name](#input\_name) | n/a | `string` | `"demo_vpc"` | no |
| [pri\_sub](#input\_pri\_sub) | n/a | `list(string)` |
[
"192.168.1.0/24",
"192.168.2.0/24"
]
| no |
| [pub\_sub](#input\_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](#output\_eip\_attached\_instance) | EIP Attached Instance ID |
| [key\_name](#output\_key\_name) | Ec2 Pem Key Name |
| [natgateway\_public\_ip](#output\_natgateway\_public\_ip) | Nat gateway public ip |
| [private\_cidr](#output\_private\_cidr) | Private Subnets |
| [public\_cidr](#output\_public\_cidr) | Public Subnets |