Commit 617e5c4
authored
refactor: deploy subnets for every az in aws (#330)
subnets are regional in azure and gcp, so we're mimicking that behavior in aws
this means:
- subnets in aws generate 1 subnet for each availability zone
- for regional and highly available resources (kubernetes node pool and databases for now) we use all generated AWS subnets
- for zonal resources (vms, network interfaces), a zone is selected and the appropriate subnet with it
- for resources that are associated with single subnets (route table associations) we create 1 for each subnet1 parent 708a01d commit 617e5c4
59 files changed
Lines changed: 1514 additions & 1346 deletions
File tree
- api/proto/resourcespb
- resources
- output
- database
- public_ip
- virtual_machine
- types
- aws
- azure
- gcp
- test
- _configs
- database
- database_mariadb
- database_mysql
- database_postgresql
- kubernetes
- kubernetes_size_override
- kubernetes
- network_interface_security_group_association/network_interface_security_group_association
- network_interface/network_interface
- network_security_group/network_security_group
- public_ip/public_ip
- route_table/route_table
- subnet
- subnet_public_private
- subnet
- vault_access_policy/vault_access_policy
- virtual_machine
- virtual_machine_images
- virtual_machine_nic_association
- virtual_machine_public_ip
- virtual_machine_size_override
- virtual_machine
- e2e
- resources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
0 commit comments