aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rss.jinwei.me/infra/ssm.tf')
-rw-r--r--rss.jinwei.me/infra/ssm.tf28
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 @@
1resource "aws_ssm_parameter" "ttrss_site_url" { 1resource "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
7resource "aws_ssm_parameter" "ttrss_db_name" { 7resource "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
13resource "aws_ssm_parameter" "ttrss_db_user" { 13resource "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
19resource "aws_ssm_parameter" "ttrss_db_password" { 19resource "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
25resource "aws_ssm_parameter" "ttrss_tgbot_token" { 25resource "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
31resource "aws_ssm_parameter" "ttrss_tgbot_version" { 31resource "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
Powered by cgit v1.2.3 (git 2.41.0)