aboutsummaryrefslogblamecommitdiff
blob: 59d0f36fbddb77f68e5fe3f6c2695b3758270328 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                             
                  
                          

 

                                            
                  
                         

 

                                            
                  
                         

 

                                                
                        
                                             

 
                                                




                                    
                                                  



                                      
resource "aws_ssm_parameter" "rss_site_url" {
  name  = "/${var.name}/rss/url"
  type  = "String"
  value = var.rss_site_url
}

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

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

resource "aws_ssm_parameter" "rss_db_password" {
  name  = "/${var.name}/mysql/rss_user_password"
  type  = "SecureString"
  value = random_password.rss_password.result
}

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

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