Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafikbahri/tf-aws-public-subnet
Terraform module for AWS Public Subnet
https://github.com/rafikbahri/tf-aws-public-subnet
aws terraform terraform-module
Last synced: 3 days ago
JSON representation
Terraform module for AWS Public Subnet
- Host: GitHub
- URL: https://github.com/rafikbahri/tf-aws-public-subnet
- Owner: rafikbahri
- License: gpl-3.0
- Created: 2024-09-15T12:12:28.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2024-09-16T07:32:25.000Z (12 days ago)
- Last Synced: 2024-09-16T13:55:47.662Z (11 days ago)
- Topics: aws, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.9.5 |
| [aws](#requirement\_aws) | >= 5.67.0 |## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | 5.67.0 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [aws_route_table_association.internet](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table_association) | resource |
| [aws_subnet.subnet](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/subnet) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [availability\_zone](#input\_availability\_zone) | Availability zone of the subnet | `string` | `""` | no |
| [cidr\_block](#input\_cidr\_block) | IPv4 CIDR block for the subnet | `string` | `"10.0.2.0/24"` | no |
| [has\_internet\_access](#input\_has\_internet\_access) | Whether this networl has internet access | `bool` | `false` | no |
| [map\_public\_ip\_on\_launch](#input\_map\_public\_ip\_on\_launch) | Specify true to indicate that instances launched into the subnet should be assigned a public IP address | `bool` | `false` | no |
| [name](#input\_name) | Subnet name | `string` | `""` | no |
| [public\_internet\_route\_table\_id](#input\_public\_internet\_route\_table\_id) | Public internet route table ID | `string` | `""` | no |
| [tags](#input\_tags) | A map of tags to add to all resources in the subnet | `map(string)` | `{}` | no |
| [vpc\_id](#input\_vpc\_id) | VPC ID where the subnet will be created | `string` | `""` | no |## Outputs
| Name | Description |
|------|-------------|
| [arn](#output\_arn) | Subnet ARN |
| [cidr\_block](#output\_cidr\_block) | Subnet CIDR block |
| [subnet\_id](#output\_subnet\_id) | Subnet ID |