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