Packages

Arke project generator. Provides a `mix arke.new` task to bootstrap a new Elixir application with Arke dependencies.

Current section

Files

Jump to
arke_new templates terraform environments develop variables.tf
Raw

templates/terraform/environments/develop/variables.tf

########################################################################
### CLUSTER ############################################################
########################################################################
variable "google_project_id" {
description = "GCloud Project ID"
}
variable "google_project_region" {
description = "GCloud Cluster Region"
}
variable "google_cluster_name" {
type = string
description = "GKE cluster name which will be used to check the kubernetes status"
}
variable "google_project_zone" {
type = string
description = "GKE cluster zone"
}
variable "dns_zone_name"{
type = string
description = "DNS zone"
}
variable "nginx_controller_ip"{
type = string
description = "External IP address got after the cluster creation"
}
########################################################################
### DATABASE ###########################################################
########################################################################
variable "db_name" {
description = "Database name"
}
variable "db_password" {
description = "Database password"
}
variable "db_hostname" {
description = "Database hostname"
}
variable "db_port" {
description = "Database port"
}
variable "db_user" {
description = "Database user"
}
########################################################################
### ELIXIR #############################################################
########################################################################
variable "secret_key_base" {
description = "Elixir secret"
}
variable "secret_key_auth" {
description = "Elixir secret"
}
variable "release_name" {
description = "Release name"
}
variable "auth_mode" {
description = "Elixir auth mode"
}
variable "app_review_email" {
description = "Mobile reviewer email"
default = null
}
variable "app_review_code" {
description = "OTP code for the reviewer"
default=null
}
########################################################################
### ELIXIR STORAGE #####################################################
########################################################################
variable "service_key" {
description = "Service key which has the permission to write on a bucket"
}
variable "service_account" {
description = "Service account name which has the permission to write on a bucket"
}
variable "default_bucket" {
description = "GCP bucket name"
}
variable "service_key_path" {
description = "Service key path"
}
variable "service_key_filename" {
description = "Service key filename"
}
########################################################################
### IMAGE REGISTRY #####################################################
########################################################################
variable "registry_username" {
description = "Container registry username used to access resources in a given registry. (ex. github username)"
}
variable "registry_server" {
description = "Container registry server. ex (github)"
}
variable "registry_token" {
description = "Container registry token used to check the authorization for the given registry"
}
variable "registry_email" {
description = "Container registry email"
}
<%= if @mailer != "" do %>
########################################################################
### ELIXIR MAILER #####################################################
########################################################################
variable "reset_password_endpoint" {
description = "Endpoint used to reset the password. "
}
variable "mailgun_api" {
description = "Mailgun API key"
}
variable "mailgun_domain" {
description = "Mailgun domain"
}
variable "default_sender" {
description = "Email default sender"
}
<% end %>