Compare commits

..

No commits in common. "main" and "0.11.0" have entirely different histories.
main ... 0.11.0

5 changed files with 12 additions and 17 deletions

View File

@ -1 +1 @@
010 008

View File

@ -1,3 +0,0 @@
### Toggle Measure Visibility
Allow the user to choose whether a measure should be visible or hidden by default.

View File

@ -1,3 +0,0 @@
### Grouped Measures
Create a measure type that is just a grouping of several other measures. For example, it would be nice to be able to group all workout-related measures into one group. The graph could show an overlay of all the different measures on one graph.

View File

@ -1,5 +1,10 @@
resource "aws_secretsmanager_secret" "pmapi" { resource "aws_secretsmanager_secret" "pmapi_auth" {
name = "${local.environment_name}-Config" name = "${local.environment_name}-AuthSecret"
tags = { Environment = local.environment_name }
}
resource "aws_secretsmanager_secret" "pmapi_db_conn_string" {
name = "${local.environment_name}-DbConnString"
tags = { Environment = local.environment_name } tags = { Environment = local.environment_name }
} }
@ -33,17 +38,12 @@ resource "aws_ecs_task_definition" "pmapi" {
{ {
name = "AUTH_SECRET" name = "AUTH_SECRET"
description = "Auth secret used to hash and salt passwords." description = "Auth secret used to hash and salt passwords."
valueFrom = "${aws_secretsmanager_secret.pmapi.arn}:authSecret::" valueFrom = aws_secretsmanager_secret.pmapi_auth.arn
}, },
{ {
name = "DB_CONN_STRING" name = "DB_CONN_STRING"
description = "Connection string with user credentials." description = "Connection string with user credentials."
valueFrom = "${aws_secretsmanager_secret.pmapi.arn}:dbConnString::" valueFrom = aws_secretsmanager_secret.pmapi_db_conn_string.arn
},
{
name = "KNOWN_ORIGINS"
description = "Connection string with user credentials."
valueFrom = "${aws_secretsmanager_secret.pmapi.arn}:knownOrigins::"
} }
] ]
} }

View File

@ -27,7 +27,8 @@ resource "aws_iam_role" "ecs_task" {
"kms:Decrypt" "kms:Decrypt"
] ]
Resource = [ Resource = [
aws_secretsmanager_secret.pmapi.arn aws_secretsmanager_secret.pmapi_auth.arn,
aws_secretsmanager_secret.pmapi_db_conn_string.arn
] ]
} }
] ]