Skip to content

Commit

Permalink
PLT-504: Add BCDA dev environment to WAF configuration (#129)
Browse files Browse the repository at this point in the history
## 🎫 Ticket

https://jira.cms.gov/browse/PLT-504

## 🛠 Changes

This adds the BCDA dev environment to the apply workflow of the new WAF
configuration.

## ℹ️ Context

We're moving all apps to WAF for IP filtering. This should alleviate
some of the issues we have with security groups and maintaining our CIDR
whitelists.

## 🧪 Validation

BCDA dev should be able to be reached on the VPN, but no other traffic
should be let through. The BCDA team may need to add CIDR ranges to the
new IP-set that will be created. We'll also need to remove the
association to the dev WAF and security group in place in the bcda-ops
repo: CMSgov/bcda-ops#1114
  • Loading branch information
gfreeman-navapbc authored Oct 7, 2024
1 parent b3ca7c4 commit e165cdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/api-waf-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
matrix:
app: [dpc]
env: [dev, test, sbx]
include:
- app: bcda
env: dev
steps:
- uses: actions/checkout@v4
- uses: ./actions/setup-tfenv-terraform
Expand Down
2 changes: 1 addition & 1 deletion terraform/services/api-waf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ resource "aws_wafv2_ip_set" "api_customers" {
ip_address_version = "IPV4"

# Addresses will be managed outside of terraform. This is
# a placeholder address.
# a placeholder address for all apps/environments.
addresses = ["203.0.113.0/32"]

lifecycle {
Expand Down

0 comments on commit e165cdb

Please sign in to comment.