# Spoke AWS Account ## Requirements | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.3.0 | | [aws](#requirement\_aws) | = 4.67.0 | ## Providers | Name | Version | |------|---------| | [aws](#provider\_aws) | = 4.67.0 | ## Modules | Name | Source | Version | |------|--------|---------| | [compute](#module\_compute) | ./modules/compute | n/a | | [ingress\_vpcs](#module\_ingress\_vpcs) | aws-ia/vpc/aws | = 4.2.1 | | [vpc\_resources](#module\_vpc\_resources) | ./modules/vpc-resources | n/a | | [vpc\_routes](#module\_vpc\_routes) | ./modules/vpc-routes | n/a | ## Resources | Name | Type | |------|------| | [aws_secretsmanager_secret_version.spoke_vpc_information](https://registry.terraform.io/providers/hashicorp/aws/4.67.0/docs/resources/secretsmanager_secret_version) | resource | | [aws_ami.amazon_linux](https://registry.terraform.io/providers/hashicorp/aws/4.67.0/docs/data-sources/ami) | data source | | [aws_caller_identity.aws_spoke_account](https://registry.terraform.io/providers/hashicorp/aws/4.67.0/docs/data-sources/caller_identity) | data source | | [aws_secretsmanager_secret.firewall_manager](https://registry.terraform.io/providers/hashicorp/aws/4.67.0/docs/data-sources/secretsmanager_secret) | data source | | [aws_secretsmanager_secret.spoke_vpc_information](https://registry.terraform.io/providers/hashicorp/aws/4.67.0/docs/data-sources/secretsmanager_secret) | data source | | [aws_secretsmanager_secret.transit_gateway](https://registry.terraform.io/providers/hashicorp/aws/4.67.0/docs/data-sources/secretsmanager_secret) | data source | | [aws_secretsmanager_secret_version.firewall_manager](https://registry.terraform.io/providers/hashicorp/aws/4.67.0/docs/data-sources/secretsmanager_secret_version) | data source | | [aws_secretsmanager_secret_version.transit_gateway](https://registry.terraform.io/providers/hashicorp/aws/4.67.0/docs/data-sources/secretsmanager_secret_version) | data source | ## Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [central\_account\_id](#input\_central\_account\_id) | AWS Central Account ID. | `string` | n/a | yes | | [aws\_region](#input\_aws\_region) | AWS Region to use. | `string` | `"eu-north-1"` | no | | [identifier](#input\_identifier) | Project identifier. | `string` | `"nis341-spoke"` | no | | [ingress\_vpcs](#input\_ingress\_vpcs) | Ingress VPCs to create in both AWS Regions. | `any` |
{| no | | [secrets\_names](#input\_secrets\_names) | Secrets names - shared variable between AWS Accounts. | `map(string)` |
"ingress1": {
"cidr_block": "10.0.0.0/16",
"firewall_subnet_cidrs": [
"10.0.0.0/28",
"10.0.0.16/28",
"10.0.0.32/28"
],
"instance_type": "t3.micro",
"name": "ingress1",
"number_azs": 2,
"public_subnet_cidrs": [
"10.0.1.0/24",
"10.0.2.0/24",
"10.0.3.0/24"
],
"tgw_subnet_cidrs": [
"10.0.7.0/28",
"10.0.7.16/28",
"10.0.7.32/28"
],
"workload_subnet_cidrs": [
"10.0.4.0/24",
"10.0.5.0/24",
"10.0.6.0/24"
]
},
"ingress2": {
"cidr_block": "10.1.0.0/16",
"firewall_subnet_cidrs": [
"10.1.0.0/28",
"10.1.0.16/28",
"10.1.0.32/28"
],
"instance_type": "t3.micro",
"name": "ingress2",
"number_azs": 2,
"public_subnet_cidrs": [
"10.1.1.0/24",
"10.1.2.0/24",
"10.1.3.0/24"
],
"tgw_subnet_cidrs": [
"10.1.7.0/28",
"10.1.7.16/28",
"10.1.7.32/28"
],
"workload_subnet_cidrs": [
"10.1.4.0/24",
"10.1.5.0/24",
"10.1.6.0/24"
]
}
}
{| no | ## Outputs No outputs.
"firewall_manager": "firewall_manager_identifier",
"spoke_vpc_information": "spoke_vpc_information",
"transit_gateway": "transit_gateway_identifier"
}