Skip to content

Commit

Permalink
Add secrets back in to update deletion window
Browse files Browse the repository at this point in the history
  • Loading branch information
jemnery committed Dec 1, 2023
1 parent ea5b0d7 commit 7e971f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/environments/performance-hub/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ data "template_file" "task_definition" {
storage_bucket = "${aws_s3_bucket.upload_files.id}"
friendly_name = local.app_data.accounts[local.environment].friendly_name
hub_wwwroot = local.app_data.accounts[local.environment].hub_wwwroot
pecs_basm_prod_access_key_id = aws_secretsmanager_secret_version.pecs_basm_prod_access_key_id.arn
pecs_basm_prod_secret_access_key = aws_secretsmanager_secret_version.pecs_basm_prod_secret_access_key.arn
ap_import_access_key_id = aws_secretsmanager_secret_version.ap_import_access_key_id.arn
ap_import_secret_access_key = aws_secretsmanager_secret_version.ap_import_secret_access_key.arn
ap_export_access_key_id = aws_secretsmanager_secret_version.ap_export_access_key_id.arn
Expand Down
2 changes: 2 additions & 0 deletions terraform/environments/performance-hub/secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ resource "aws_secretsmanager_secret_version" "ap_export_secret_access_key" {
resource "aws_secretsmanager_secret" "pecs_basm_prod_access_key_id" {
#checkov:skip=CKV_AWS_149
name = "pecs_basm_prod_access_key_id"
recovery_window_in_days = 0
tags = merge(
local.tags,
{
Expand All @@ -156,6 +157,7 @@ resource "aws_secretsmanager_secret_version" "pecs_basm_prod_access_key_id" {
resource "aws_secretsmanager_secret" "pecs_basm_prod_secret_access_key" {
#checkov:skip=CKV_AWS_149
name = "pecs_basm_prod_secret_access_key"
recovery_window_in_days = 0
tags = merge(
local.tags,
{
Expand Down

0 comments on commit 7e971f2

Please sign in to comment.