aboutsummaryrefslogtreecommitdiff
blob: 62aaba744152707f9a23eba20657e95e294c7189 (plain) (blame)
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
28
29
30
31
32
33
34
35
resource "aws_ssm_parameter" "ttrss_site_url" {
  name  = "/${var.name}/ttrss/url"
  type  = "String"
  value = var.ttrss_site_url
}

resource "aws_ssm_parameter" "ttrss_db_name" {
  name  = "/${var.name}/mysql/ttrss_db_name"
  type  = "String"
  value = var.ttrss_db_name
}

resource "aws_ssm_parameter" "ttrss_db_user" {
  name  = "/${var.name}/mysql/ttrss_db_user"
  type  = "String"
  value = var.ttrss_db_user
}

resource "aws_ssm_parameter" "ttrss_db_password" {
  name  = "/${var.name}/mysql/ttrss_db_password"
  type  = "SecureString"
  value = random_password.ttrss_password.result
}

resource "aws_ssm_parameter" "ttrss_tgbot_token" {
  name  = "/${var.name}/tgbot/token"
  type  = "SecureString"
  value = var.rss_tgbot_token
}

resource "aws_ssm_parameter" "ttrss_tgbot_version" {
  name  = "/${var.name}/tgbot/version"
  type  = "String"
  value = var.tg_bot_version
}
Powered by cgit v1.2.3 (git 2.41.0)