Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/vpc creation prod preprod #2283

Merged
merged 8 commits into from Sep 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
68 changes: 34 additions & 34 deletions cidr-allocation.md
Expand Up @@ -62,40 +62,40 @@

### preproduction and production /21s for member subnet-sets

| CIDR | mask | allocated to |
| :---------- | :--- | :---------------------------- |
| 10.27.0.0 | /21 | hmpps preproduction - general |
| 10.27.8.0 | /21 | hmpps production - general |
| 10.27.16.0 | /21 | hmcts production - general |
| 10.27.24.0 | /21 | hmcts preproduction - general |
| 10.27.32.0 | /21 | hq production - general |
| 10.27.40.0 | /21 | - |
| 10.27.48.0 | /21 | - |
| 10.27.56.0 | /21 | - |
| 10.27.64.0 | /21 | - |
| 10.27.72.0 | /21 | - |
| 10.27.80.0 | /21 | - |
| 10.27.88.0 | /21 | - |
| 10.27.96.0 | /21 | - |
| 10.27.104.0 | /21 | - |
| 10.27.112.0 | /21 | - |
| 10.27.120.0 | /21 | - |
| 10.27.128.0 | /21 | - |
| 10.27.136.0 | /21 | - |
| 10.27.144.0 | /21 | - |
| 10.27.152.0 | /21 | - |
| 10.27.160.0 | /21 | - |
| 10.27.168.0 | /21 | - |
| 10.27.176.0 | /21 | - |
| 10.27.184.0 | /21 | - |
| 10.27.192.0 | /21 | - |
| 10.27.200.0 | /21 | - |
| 10.27.208.0 | /21 | - |
| 10.27.216.0 | /21 | - |
| 10.27.224.0 | /21 | - |
| 10.27.232.0 | /21 | - |
| 10.27.240.0 | /21 | - |
| 10.27.248.0 | /21 | - |
| CIDR | mask | allocated to |
| :---------- | :--- | :-------------------------------- |
| 10.27.0.0 | /21 | hmpps preproduction - general |
| 10.27.8.0 | /21 | hmpps production - general |
| 10.27.16.0 | /21 | hmcts production - general |
| 10.27.24.0 | /21 | hmcts preproduction - general |
| 10.27.32.0 | /21 | hq production - general |
| 10.27.40.0 | /21 | hq preproduction - general |
| 10.27.48.0 | /21 | opg production - general |
| 10.27.56.0 | /21 | opg preproduction - general |
| 10.27.64.0 | /21 | laa production - general |
| 10.27.72.0 | /21 | laa preproduction - general |
| 10.27.80.0 | /21 | cica production - general |
| 10.27.88.0 | /21 | cica preproduction - general |
| 10.27.96.0 | /21 | platforms production - general |
| 10.27.104.0 | /21 | platforms preproduction - general |
| 10.27.112.0 | /21 | cjse production - general |
| 10.27.120.0 | /21 | cjse preproduction - general |
| 10.27.128.0 | /21 | - |
| 10.27.136.0 | /21 | - |
| 10.27.144.0 | /21 | - |
| 10.27.152.0 | /21 | - |
| 10.27.160.0 | /21 | - |
| 10.27.168.0 | /21 | - |
| 10.27.176.0 | /21 | - |
| 10.27.184.0 | /21 | - |
| 10.27.192.0 | /21 | - |
| 10.27.200.0 | /21 | - |
| 10.27.208.0 | /21 | - |
| 10.27.216.0 | /21 | - |
| 10.27.224.0 | /21 | - |
| 10.27.232.0 | /21 | - |
| 10.27.240.0 | /21 | - |
| 10.27.248.0 | /21 | - |
| | |

### sandbox /21s for member subnet-sets
Expand Down
16 changes: 16 additions & 0 deletions environments-networks/cica-preproduction.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.88.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
16 changes: 16 additions & 0 deletions environments-networks/cica-production.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.80.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
2 changes: 1 addition & 1 deletion environments-networks/cjse-development.json
Expand Up @@ -8,7 +8,7 @@
}
},
"options": {
"bastion_linux": true,
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
Expand Down
16 changes: 16 additions & 0 deletions environments-networks/cjse-preproduction.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.120.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
16 changes: 16 additions & 0 deletions environments-networks/cjse-production.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.112.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": true,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
16 changes: 16 additions & 0 deletions environments-networks/hq-preproduction.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.40.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
2 changes: 1 addition & 1 deletion environments-networks/hq-test.json
Expand Up @@ -8,7 +8,7 @@
}
},
"options": {
"bastion_linux": true,
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
Expand Down
16 changes: 16 additions & 0 deletions environments-networks/laa-preproduction.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.72.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
16 changes: 16 additions & 0 deletions environments-networks/laa-production.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.64.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
16 changes: 16 additions & 0 deletions environments-networks/opg-preproduction.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.56.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
16 changes: 16 additions & 0 deletions environments-networks/opg-production.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.48.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
16 changes: 16 additions & 0 deletions environments-networks/platforms-preproduction.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.104.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
16 changes: 16 additions & 0 deletions environments-networks/platforms-production.json
@@ -0,0 +1,16 @@
{
"cidr": {
"subnet_sets": {
"general": {
"cidr": "10.27.96.0/21",
"accounts": []
}
}
},
"options": {
"bastion_linux": false,
"additional_endpoints": [],
"dns_zone_extend": []
},
"nacl": []
}
82 changes: 80 additions & 2 deletions policies/networking/expected.rego
Expand Up @@ -121,6 +121,14 @@ expected =
]
}
},
"hq-test": {
"general": {
"cidr": "10.26.120.0/21",
"accounts": [
"threat-and-vulnerability-mgmt-production"
]
}
},
"hq-production": {
"general": {
"cidr": "10.27.32.0/21",
Expand Down Expand Up @@ -186,9 +194,79 @@ expected =
]
}
},
"hq-test": {
"hq-preproduction": {
"general": {
"cidr": "10.26.120.0/21",
"cidr": "10.27.40.0/21",
"accounts": [
]
}
},
"opg-production": {
"general": {
"cidr": "10.27.48.0/21",
"accounts": [
]
}
},
"opg-preproduction": {
"general": {
"cidr": "10.27.56.0/21",
"accounts": [
]
}
},
"laa-production": {
"general": {
"cidr": "10.27.64.0/21",
"accounts": [
]
}
},
"laa-preproduction": {
"general": {
"cidr": "10.27.72.0/21",
"accounts": [
]
}
},
"cica-production": {
"general": {
"cidr": "10.27.80.0/21",
"accounts": [
]
}
},
"cica-preproduction": {
"general": {
"cidr": "10.27.88.0/21",
"accounts": [
]
}
},
"platforms-production": {
"general": {
"cidr": "10.27.96.0/21",
"accounts": [
]
}
},
"platforms-preproduction": {
"general": {
"cidr": "10.27.104.0/21",
"accounts": [
]
}
},
"cjse-production": {
"general": {
"cidr": "10.27.112.0/21",
"accounts": [
]
}
},
"cjse-preproduction": {
"general": {
"cidr": "10.27.120.0/21",
"accounts": [
]
}
Expand Down