Skip to content

Commit

Permalink
Remove unneeded Resource Groups and creds (#363)
Browse files Browse the repository at this point in the history
* Remove unneeded resource groups and Creds

* rm outputs base file

---------

Co-authored-by: Administrator <[email protected]>
  • Loading branch information
derekadombek and Administrator authored Nov 5, 2024
1 parent 4ba556e commit 53880ca
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 75 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build-deploy-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ on:
type: choice
options:
- dev
- dev2
- dev3
- dev4
- dev5
- dev6
- demo
demo-blob-name:
description: 'After the demo env gets created, copy its blob storage name here'
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ on:
type: choice
options:
- dev
- dev2
- dev3
- dev4
- dev5
- dev6
- demo
ocr-version:
description: 'Create a version for this OCR API image'
Expand Down
4 changes: 0 additions & 4 deletions ops/terraform/config/dev2.config

This file was deleted.

4 changes: 0 additions & 4 deletions ops/terraform/config/dev3.config

This file was deleted.

4 changes: 0 additions & 4 deletions ops/terraform/config/dev4.config

This file was deleted.

4 changes: 0 additions & 4 deletions ops/terraform/config/dev5.config

This file was deleted.

4 changes: 0 additions & 4 deletions ops/terraform/config/dev6.config

This file was deleted.

48 changes: 4 additions & 44 deletions ops/terraform/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,52 +12,12 @@ locals {
lbsubnetcidr = "10.0.3.0/24"
}
}
dev2 = {
dev2 = {
vnetcidr = "10.2.0.0/16"
appsubnetcidr = "10.2.1.0/24"
websubnetcidr = "10.2.2.0/24"
lbsubnetcidr = "10.2.3.0/24"
}
}
dev3 = {
dev3 = {
vnetcidr = "10.3.0.0/16"
appsubnetcidr = "10.3.1.0/24"
websubnetcidr = "10.3.2.0/24"
lbsubnetcidr = "10.3.3.0/24"
}
}
dev4 = {
dev4 = {
vnetcidr = "10.4.0.0/16"
appsubnetcidr = "10.4.1.0/24"
websubnetcidr = "10.4.2.0/24"
lbsubnetcidr = "10.4.3.0/24"
}
}
dev5 = {
dev5 = {
vnetcidr = "10.5.0.0/16"
appsubnetcidr = "10.5.1.0/24"
websubnetcidr = "10.5.2.0/24"
lbsubnetcidr = "10.5.3.0/24"
}
}
dev6 = {
dev6 = {
vnetcidr = "10.6.0.0/16"
appsubnetcidr = "10.6.1.0/24"
websubnetcidr = "10.6.2.0/24"
lbsubnetcidr = "10.6.3.0/24"
}
}
demo = {
demo = {
vnetcidr = "10.7.0.0/16"
appsubnetcidr = "10.7.1.0/24"
websubnetcidr = "10.7.2.0/24"
lbsubnetcidr = "10.7.3.0/24"
vnetcidr = "10.1.0.0/16"
appsubnetcidr = "10.1.1.0/24"
websubnetcidr = "10.1.2.0/24"
lbsubnetcidr = "10.1.3.0/24"
}
}
}
2 changes: 1 addition & 1 deletion ops/terraform/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
workspaces = merge(local.dev, local.dev2, local.dev3, local.dev4, local.dev5, local.dev6, local.demo)
workspaces = merge(local.dev, local.demo)
workspace = local.workspaces[terraform.workspace]

management_tags = {
Expand Down
Empty file removed ops/terraform/outputs.tf
Empty file.

0 comments on commit 53880ca

Please sign in to comment.