generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infrastructure and GHA for Backend API (#419)
* Infrastructure and GHA for Backend API * change wording to middleware from backend * get vault secrets ready * merge main * reconfigure cidr ranges * change from backend to middleware * change from backend to middleware * test building and publishing middleware image * cleanup * rm vault data source secrets * comment out vars * clean-up * rm middleware cicd * wip --------- Co-authored-by: Administrator <[email protected]>
- Loading branch information
1 parent
e563caf
commit 3e66da6
Showing
9 changed files
with
135 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM amazoncorretto:17 | ||
ENV HOME=/app | ||
RUN mkdir -p $HOME | ||
WORKDIR $HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
locals { | ||
environment = terraform.workspace | ||
environment = terraform.workspace | ||
ocr-api = "ocr" | ||
middleware-api = "middleware" | ||
init = { | ||
environment = local.environment | ||
location = "eastus2" | ||
} | ||
dev = { | ||
dev = { | ||
vnetcidr = "10.0.0.0/16" | ||
appsubnetcidr = "10.0.1.0/24" | ||
websubnetcidr = "10.0.2.0/24" | ||
lbsubnetcidr = "10.0.3.0/24" | ||
dbsubnetcidr = "10.0.4.0/24" | ||
vnetcidr = "10.0.0.0/16" | ||
ocrsubnetcidr = "10.0.1.0/24" | ||
middlewaresubnetcidr = "10.0.2.0/24" | ||
websubnetcidr = "10.0.3.0/24" | ||
lbsubnetcidr = "10.0.4.0/24" | ||
dbsubnetcidr = "10.0.5.0/24" | ||
} | ||
} | ||
demo = { | ||
demo = { | ||
vnetcidr = "10.1.0.0/16" | ||
appsubnetcidr = "10.1.1.0/24" | ||
websubnetcidr = "10.1.2.0/24" | ||
lbsubnetcidr = "10.1.3.0/24" | ||
dbsubnetcidr = "10.1.4.0/24" | ||
vnetcidr = "10.1.0.0/16" | ||
ocrsubnetcidr = "10.1.1.0/24" | ||
middlewaresubnetcidr = "10.1.2.0/24" | ||
websubnetcidr = "10.1.3.0/24" | ||
lbsubnetcidr = "10.1.4.0/24" | ||
dbsubnetcidr = "10.1.5.0/24" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters