Skip to content

Commit

Permalink
envにparameterのvalueを使う
Browse files Browse the repository at this point in the history
  • Loading branch information
piny940 committed Oct 16, 2024
1 parent 6f9ed1c commit 3c82d84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/production/service-monitor.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ resource "aws_lambda_function" "service-monitor" {

environment {
variables = {
HEALTH_CHECK_URL = ""
SLACK_API_TOKEN = ""
HEALTH_CHECK_URL = data.aws_ssm_parameter.health_check_url.value
SLACK_API_TOKEN = data.aws_ssm_parameter.slack_api_token.value
SLACK_CHANNEL = local.slack_channel
}
}
Expand Down

0 comments on commit 3c82d84

Please sign in to comment.