Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QPPSE-2864: Added IMPL_ACA_Cookie. #1466

Merged
merged 4 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading