Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oleonardorodrigues/hashitalks-brasil-2021
Exemplo para HashiTalks Brasil 2021, sobre features avançadas em Terraform.
https://github.com/oleonardorodrigues/hashitalks-brasil-2021
example hashicorp hashitalks terraform
Last synced: 11 days ago
JSON representation
Exemplo para HashiTalks Brasil 2021, sobre features avançadas em Terraform.
- Host: GitHub
- URL: https://github.com/oleonardorodrigues/hashitalks-brasil-2021
- Owner: OLeonardoRodrigues
- License: mit
- Created: 2021-12-01T23:40:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-03T23:42:03.000Z (almost 3 years ago)
- Last Synced: 2024-10-12T23:53:04.347Z (25 days ago)
- Topics: example, hashicorp, hashitalks, terraform
- Language: HCL
- Homepage: https://www.youtube.com/watch?v=jQszqzCEhFk&list=PL81sUbsFNc5agdrEMDtU6IGyxBMv6Fq8i&index=19
- Size: 315 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![HashiTalks 2021 Speaker Card](/images/speaker\_card.png "HashiTalks 2021 Speaker Card")
# HashiTalks Brasil 2021
## Terraform Avançado: Usando Objetos
### [Apresentação](https://www.youtube.com/watch?v=jQszqzCEhFk&list=PL81sUbsFNc5agdrEMDtU6IGyxBMv6Fq8i&index=19)
### [Slides](https://docs.google.com/presentation/d/1fK_fJb5fe49kckoVqr_CS6uWMS51blH_Jq_5k2exScQ/edit?usp=sharing)
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | = 1.0.11 |
| [aws](#requirement\_aws) | 3.67.0 |## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | 3.67.0 |## Resources
| Name | Type |
|------|------|
| [aws_subnet.main_subnet](https://registry.terraform.io/providers/hashicorp/aws/3.67.0/docs/resources/subnet) | resource |
| [aws_subnet.main_subnets](https://registry.terraform.io/providers/hashicorp/aws/3.67.0/docs/resources/subnet) | resource |## Inputs
| Name | Description | Type | Default |
|------|-------------|------|---------|
| [subnet](#input\_subnet) | Objeto que declara uma única subnet. |object({|
name = string
vpc_id = string
cidr_block = string
shared = optional(bool)
}){|
"cidr_block": "10.0.1.0/24",
"name": "Main",
"shared": true,
"vpc_id": "0123456789012"
}
| [subnets](#input\_subnets) | Mapa de objetos que declaram várias subnets. |map(|
object({
vpc_id = string
cidr_block = string
shared = bool
})
){|
"subnet1": {
"cidr_block": "10.0.1.0/24",
"shared": true,
"vpc_id": "012345678901"
},
"subnet2": {
"cidr_block": "10.0.2.0/24",
"shared": false,
"vpc_id": "012345678901"
}
}## Outputs
| Name | Description |
|------|-------------|
| [subnet](#output\_subnet) | Conteúdo da variável subnet. |
| [subnets](#output\_subnets) | Conteúdo da variável subnets. |