You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subject ="Action required: AWSPENDING secret created (Environment: ${var.environment})",
28
-
TopicArn = aws_sns_topic.secret_rotation.arn,
29
-
"Message.$"="States.Format('======================================================\nAction required: AWSPENDING secret created (Environment: ${var.environment})\n======================================================\n\nA manual action is required to proceed.\n\nCONTEXT:\nSecret Name: ${module.secrets_manager.aws_hashing_secret_name}\n\nINSTRUCTIONS:\n1. Run the \"Add New Hashes (elid_add_new_salt)\" job.\n2. Ensure the new hashes are working as expected.\n3. Run the command below to approve and resume the workflow:\n\naws stepfunctions send-task-success --task-token {} --task-output {}\n\n======================================================\n', $$.Task.Token, '{}')"
27
+
Subject ="Action required: AWSPENDING secret created (Environment: ${var.environment})",
28
+
TopicArn = aws_sns_topic.secret_rotation.arn,
29
+
"Message.$"=local.add_jobs_message
30
30
},
31
31
Catch = [
32
32
{ ErrorEquals = ["States.Timeout"], Next ="NotifyTimeout" },
33
33
{ ErrorEquals = ["States.ALL"], Next ="NotifyFailure" }
Subject ="Action required: Secret AWSPENDING promoted to AWSCURRENT (Environment: ${var.environment})",
51
-
TopicArn = aws_sns_topic.secret_rotation.arn,
52
-
"Message.$"="States.Format('======================================================\nAction required: Secret AWSPENDING promoted to AWSCURRENT (Environment: ${var.environment})\n======================================================\n\nA manual action is required to proceed.\n\nCONTEXT:\nSecret Name: ${module.secrets_manager.aws_hashing_secret_name}\n\nINSTRUCTIONS:\n1. Run the \"Delete Old Hashes (elid_delete_old_salt)\" job.\n2. Ensure the old hashes have been removed successfully.\n3. Run the command below to approve and resume the workflow:\n\naws stepfunctions send-task-success --task-token {} --task-output {}\n\n======================================================\n', $$.Task.Token, '{}')"
48
+
Subject ="Action required: Secret AWSPENDING promoted to AWSCURRENT (Environment: ${var.environment})",
49
+
TopicArn = aws_sns_topic.secret_rotation.arn,
50
+
"Message.$"=local.delete_jobs_message
53
51
},
54
52
Catch = [
55
53
{ ErrorEquals = ["States.Timeout"], Next ="NotifyTimeout" },
0 commit comments