move api key to tfvars and change it as it was public [ci skip]

This commit is contained in:
viktorbarzin 2021-05-04 19:11:09 +01:00
parent 63af07f074
commit 8f0447f12d
2 changed files with 4 additions and 0 deletions

View file

@ -33,6 +33,7 @@ variable "drone_rpc_secret" {}
variable "oauth_client_id" {}
variable "oauth_client_secret" {}
variable "url_shortener_geolite_license_key" {}
variable "url_shortener_api_key" {}
variable "webhook_handler_fb_verify_token" {}
variable "webhook_handler_fb_page_token" {}
variable "webhook_handler_fb_app_secret" {}
@ -231,4 +232,5 @@ module "kubernetes_cluster" {
idrac_password = var.monitoring_idrac_password
url_shortener_geolite_license_key = var.url_shortener_geolite_license_key
url_shortener_api_key = var.url_shortener_api_key
}

View file

@ -20,6 +20,7 @@ variable "drone_rpc_secret" {}
variable "oauth_client_id" {}
variable "oauth_client_secret" {}
variable "url_shortener_geolite_license_key" {}
variable "url_shortener_api_key" {}
variable "webhook_handler_fb_verify_token" {}
variable "webhook_handler_fb_page_token" {}
variable "webhook_handler_fb_app_secret" {}
@ -186,6 +187,7 @@ module "url" {
source = "./url-shortener"
tls_secret_name = var.tls_secret_name
geolite_license_key = var.url_shortener_geolite_license_key
api_key = var.url_shortener_api_key
}
module "webhook_handler" {