-
Notifications
You must be signed in to change notification settings - Fork 0
/
ssm.tf
27 lines (24 loc) · 913 Bytes
/
ssm.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
resource "aws_ssm_parameter" "update-exchange-rate-queue-arn-ssm" {
name = "/exchangeRate/infra/sqs/updateExchangeRateQueueArn"
type = "String"
value = aws_sqs_queue.update-exchange-rate-queue.arn
overwrite = true
}
resource "aws_ssm_parameter" "exchange-rate-api-token-ssm" {
name = "/exchangeRate/infra/api/exchangeRate/token"
type = "String"
value = var.EXCHANGE_RATE_EXTERNAL_TOKEN
overwrite = true
}
resource "aws_ssm_parameter" "exchange-rate-application-load-balancer-http-arn" {
name = "/exchangeRate/infra/alb/exchangeRate/http/arn"
type = "String"
value = aws_lb_listener.http-lb-sbf-exchangerate.arn
overwrite = true
}
resource "aws_ssm_parameter" "exchange-rate-application-load-balancer-http-url-ssm" {
name = "/exchangeRate/infra/alb/exchangeRate/http/url"
type = "String"
value = "http://${aws_lb.lb-sbf-exchangerate.dns_name}"
overwrite = true
}