Skip to content

Commit

Permalink
NOBUG: Fix alignment of vars. (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise authored Dec 8, 2022
1 parent 30e5e8d commit 583a3c3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions terraform/src/export.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ resource "aws_lambda_function" "exportInvokableLambda" {

environment {
variables = {
TABLE_NAME = aws_dynamodb_table.ar_table.name,
FILE_PATH = "/tmp/",
FILE_NAME = "A&R_Export",
SSO_ISSUER = data.aws_ssm_parameter.sso_issuer.value,
SSO_JWKSURI = data.aws_ssm_parameter.sso_jwksuri.value,
S3_BUCKET_DATA = aws_s3_bucket.bcgov-parks-ar-assets.id,
JOB_UPDATE_MODULO = 1,
DISABLE_PROGRESS_UPDATES = false,
TABLE_NAME = aws_dynamodb_table.ar_table.name,
FILE_PATH = "/tmp/",
FILE_NAME = "A&R_Export",
SSO_ISSUER = data.aws_ssm_parameter.sso_issuer.value,
SSO_JWKSURI = data.aws_ssm_parameter.sso_jwksuri.value,
S3_BUCKET_DATA = aws_s3_bucket.bcgov-parks-ar-assets.id,
JOB_UPDATE_MODULO = 1,
DISABLE_PROGRESS_UPDATES = false,
DISABLE_HIGH_ACCURACY_PROGRESS_PERCENTAGE = false,
LOG_LEVEL = "info"
LOG_LEVEL = "info"
}
}
role = aws_iam_role.exportInvokeRole.arn
Expand Down Expand Up @@ -53,12 +53,12 @@ resource "aws_lambda_function" "exportGetLambda" {

environment {
variables = {
TABLE_NAME = aws_dynamodb_table.ar_table.name,
SSO_ISSUER = data.aws_ssm_parameter.sso_issuer.value
SSO_JWKSURI = data.aws_ssm_parameter.sso_jwksuri.value,
S3_BUCKET_DATA = aws_s3_bucket.bcgov-parks-ar-assets.id,
TABLE_NAME = aws_dynamodb_table.ar_table.name,
SSO_ISSUER = data.aws_ssm_parameter.sso_issuer.value
SSO_JWKSURI = data.aws_ssm_parameter.sso_jwksuri.value,
S3_BUCKET_DATA = aws_s3_bucket.bcgov-parks-ar-assets.id,
EXPORT_FUNCTION_NAME = aws_lambda_function.exportInvokableLambda.function_name,
LOG_LEVEL = "info"
LOG_LEVEL = "info"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion terraform/src/settings.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ resource "aws_lambda_function" "readConfigLambda" {
environment {
variables = {
TABLE_NAME = "${data.aws_ssm_parameter.db_name.value}-${random_string.postfix.result}",
LOG_LEVEL = "error"
LOG_LEVEL = "error"
}
}

Expand Down

0 comments on commit 583a3c3

Please sign in to comment.