Skip to content

Commit

Permalink
Merge pull request #1466 from CMSgov/QPPSE-2864
Browse files Browse the repository at this point in the history
QPPSE-2864: Added IMPL_ACA_Cookie.
  • Loading branch information
sivaksb authored Oct 16, 2024
2 parents f11f5cd + c7cc34a commit c7b9bbd
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ VALIDATION_URL=
# to the submission validation API.
SUBMISSION_API_TOKEN=

# A cookie that may be needed for Implementation environment, for local testing
# A cookie that may be needed for Implementation environment, for local testing (Cookie is needed only in IMPL env).
IMPL_ACA_COOKIE=

# Sets the license key for New Relic monitoring in a real deployment scenario.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
"valueFrom": "arn:aws:ssm:us-east-1:003384571330:parameter/qppar-sf/${env}/conversion_tool/NEWRELIC_API_KEY",
"name": "NEWRELIC_API_KEY"
},
{
"valueFrom": "arn:aws:ssm:us-east-1:003384571330:parameter/qppar-sf/${env}/conversion_tool/IMPL_ACA_COOKIE",
"name": "IMPL_ACA_COOKIE"
},
{
"valueFrom": "arn:aws:ssm:us-east-1:003384571330:parameter/qppar-sf/${env}/conversion_tool/NEXUS_CREDS",
"name": "NEXUS_CREDS"
Expand Down
24 changes: 24 additions & 0 deletions infrastructure/terraform/secure/secret-template.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,30 @@ resource "aws_ssm_parameter" "newrelic_api_key" {
}
}

resource "aws_ssm_parameter" "impl_aca_cookie" {
name = "/qppar-sf/${var.environment}/conversion_tool/IMPL_ACA_COOKIE"
description = "IMPL_ACA_COOKIE"
type = "SecureString"
value = "secret"
overwrite = false

lifecycle {
ignore_changes = [
value
]
}
tags = {
Name = "${var.project_name}-ssm-${var.environment}",
owner = var.owner,
project = var.project_name
terraform = "true"
pagerduty-email = var.pagerduty_email
application = var.application
sensitivity = var.sensitivity
git-origin = var.git-origin
}
}

resource "aws_ssm_parameter" "nexus_creds" {
name = "/qppar-sf/${var.environment}/conversion_tool/NEXUS_CREDS"
description = "NEXUS_CREDS"
Expand Down

0 comments on commit c7b9bbd

Please sign in to comment.