diff options
Diffstat (limited to 'rss.jinwei.me/infra/ssm.tf')
-rw-r--r-- | rss.jinwei.me/infra/ssm.tf | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/rss.jinwei.me/infra/ssm.tf b/rss.jinwei.me/infra/ssm.tf index 62aaba7..59d0f36 100644 --- a/rss.jinwei.me/infra/ssm.tf +++ b/rss.jinwei.me/infra/ssm.tf | |||
@@ -1,34 +1,34 @@ | |||
1 | resource "aws_ssm_parameter" "ttrss_site_url" { | 1 | resource "aws_ssm_parameter" "rss_site_url" { |
2 | name = "/${var.name}/ttrss/url" | 2 | name = "/${var.name}/rss/url" |
3 | type = "String" | 3 | type = "String" |
4 | value = var.ttrss_site_url | 4 | value = var.rss_site_url |
5 | } | 5 | } |
6 | 6 | ||
7 | resource "aws_ssm_parameter" "ttrss_db_name" { | 7 | resource "aws_ssm_parameter" "rss_db_name" { |
8 | name = "/${var.name}/mysql/ttrss_db_name" | 8 | name = "/${var.name}/mysql/rss_db_name" |
9 | type = "String" | 9 | type = "String" |
10 | value = var.ttrss_db_name | 10 | value = var.rss_db_name |
11 | } | 11 | } |
12 | 12 | ||
13 | resource "aws_ssm_parameter" "ttrss_db_user" { | 13 | resource "aws_ssm_parameter" "rss_db_user" { |
14 | name = "/${var.name}/mysql/ttrss_db_user" | 14 | name = "/${var.name}/mysql/rss_db_user" |
15 | type = "String" | 15 | type = "String" |
16 | value = var.ttrss_db_user | 16 | value = var.rss_db_user |
17 | } | 17 | } |
18 | 18 | ||
19 | resource "aws_ssm_parameter" "ttrss_db_password" { | 19 | resource "aws_ssm_parameter" "rss_db_password" { |
20 | name = "/${var.name}/mysql/ttrss_db_password" | 20 | name = "/${var.name}/mysql/rss_user_password" |
21 | type = "SecureString" | 21 | type = "SecureString" |
22 | value = random_password.ttrss_password.result | 22 | value = random_password.rss_password.result |
23 | } | 23 | } |
24 | 24 | ||
25 | resource "aws_ssm_parameter" "ttrss_tgbot_token" { | 25 | resource "aws_ssm_parameter" "rss_tgbot_token" { |
26 | name = "/${var.name}/tgbot/token" | 26 | name = "/${var.name}/tgbot/token" |
27 | type = "SecureString" | 27 | type = "SecureString" |
28 | value = var.rss_tgbot_token | 28 | value = var.rss_tgbot_token |
29 | } | 29 | } |
30 | 30 | ||
31 | resource "aws_ssm_parameter" "ttrss_tgbot_version" { | 31 | resource "aws_ssm_parameter" "rss_tgbot_version" { |
32 | name = "/${var.name}/tgbot/version" | 32 | name = "/${var.name}/tgbot/version" |
33 | type = "String" | 33 | type = "String" |
34 | value = var.tg_bot_version | 34 | value = var.tg_bot_version |