Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed May 7, 2025
1 parent 94f9af9 commit 2ec3413
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 21 deletions.
3 changes: 3 additions & 0 deletions .github/platform-tg-infra.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
},
{
"path": "../../../terraform-modules/aws-s3"
},
{
"path": "../../269244441389-lab-gov-network-nonprod"
}
]
}
12 changes: 6 additions & 6 deletions buildspecs/deploy.terragrunt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ phases:

# Set up certificate for proxy access
- mkdir -p $CERT_DIR
- cp buildspecs/census-pki.bundle.crt $CERT_DIR/bundle.crt
- export SSL_CERT_FILE=$CERT_DIR/bundle.crt
- export REQUESTS_CA_BUNDLE=$CERT_DIR/bundle.crt
- export NODE_EXTRA_CA_CERTS=$CERT_DIR/bundle.crt
- export CURL_CA_BUNDLE=$CERT_DIR/bundle.crt
- export AWS_CA_BUNDLE=$CERT_DIR/bundle.crt
- cp buildspecs/census-pki.bundle.crt $CERT_DIR/
- export SSL_CERT_FILE=$CERT_DIR/census-pki.bundle.crt
- export REQUESTS_CA_BUNDLE=$CERT_DIR/census-pki.bundle.crt
- export NODE_EXTRA_CA_CERTS=$CERT_DIR/census-pki.bundle.crt
- export CURL_CA_BUNDLE=$CERT_DIR/census-pki.bundle.crt
- export AWS_CA_BUNDLE=$CERT_DIR/census-pki.bundle.crt

# Create tools directory if it doesn't exist
- mkdir -p $TOOLS_DIR/bin
Expand Down
14 changes: 7 additions & 7 deletions buildspecs/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ phases:

# Set up certificate for proxy access
- mkdir -p $CERT_DIR
- cp buildspecs/bundle.crt $CERT_DIR/
- export SSL_CERT_FILE=$CERT_DIR/bundle.crt
- export REQUESTS_CA_BUNDLE=$CERT_DIR/bundle.crt
- export NODE_EXTRA_CA_CERTS=$CERT_DIR/bundle.crt
- export CURL_CA_BUNDLE=$CERT_DIR/bundle.crt
- export AWS_CA_BUNDLE=$CERT_DIR/bundle.crt
- cp buildspecs/census-pki.bundle.crt $CERT_DIR/
- export SSL_CERT_FILE=$CERT_DIR/census-pki.bundle.crt
- export REQUESTS_CA_BUNDLE=$CERT_DIR/census-pki.bundle.crt
- export NODE_EXTRA_CA_CERTS=$CERT_DIR/census-pki.bundle.crt
- export CURL_CA_BUNDLE=$CERT_DIR/census-pki.bundle.crt
- export AWS_CA_BUNDLE=$CERT_DIR/census-pki.bundle.crt

# Install security scanning tools
- mkdir -p $TOOLS_DIR/bin
- pip install checkov -q
Expand Down
12 changes: 6 additions & 6 deletions buildspecs/terragrunt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ phases:

# Set up certificate for proxy access
- mkdir -p $CERT_DIR
- cp buildspecs/bundle.crt $CERT_DIR/
- export SSL_CERT_FILE=$CERT_DIR/bundle.crt
- export REQUESTS_CA_BUNDLE=$CERT_DIR/bundle.crt
- export NODE_EXTRA_CA_CERTS=$CERT_DIR/bundle.crt
- export CURL_CA_BUNDLE=$CERT_DIR/bundle.crt
- export AWS_CA_BUNDLE=$CERT_DIR/bundle.crt
- cp buildspecs/census-pki.bundle.crt $CERT_DIR/
- export SSL_CERT_FILE=$CERT_DIR/census-pki.bundle.crt
- export REQUESTS_CA_BUNDLE=$CERT_DIR/census-pki.bundle.crt
- export NODE_EXTRA_CA_CERTS=$CERT_DIR/census-pki.bundle.crt
- export CURL_CA_BUNDLE=$CERT_DIR/census-pki.bundle.crt
- export AWS_CA_BUNDLE=$CERT_DIR/census-pki.bundle.crt

# Create tools directory if it doesn't exist
- mkdir -p $TOOLS_DIR/bin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ inputs = {
REGION = include.root.inputs.aws_region
ENVIRONMENT = include.root.inputs.environment_abbr
AWS_ACCOUNT_ID = include.root.inputs.aws_account_id
PROXY_CONFIG = "http://proxy.tco.census.gov:3128"
PROXY_CONFIG = "http://vlab-proxy.tco.census.gov:3128"
}
}

Expand All @@ -89,7 +89,7 @@ inputs = {
REGION = include.root.inputs.aws_region
ENVIRONMENT = include.root.inputs.environment_abbr
AWS_ACCOUNT_ID = include.root.inputs.aws_account_id
PROXY_CONFIG = "http://proxy.tco.census.gov:3128"
PROXY_CONFIG = "http://vlab-proxy.tco.census.gov:3128"
}
}
}

0 comments on commit 2ec3413

Please sign in to comment.