Skip to content

Latest commit

 

History

History
39 lines (36 loc) · 6.04 KB

File metadata and controls

39 lines (36 loc) · 6.04 KB

Terraform variables

This document gives an overview of variables used in all platforms of the Tectonic SDK.

Inputs

Name Description Type Default
tectonic_admin_email The e-mail address used to login as the admin user to the Tectonic Console.

Note: This field MUST be set manually prior to creating the cluster.
string -
tectonic_admin_password_hash The bcrypt hash of admin user password to login to the Tectonic Console. Use the bcrypt-hash tool (https://github.com/coreos/bcrypt-tool/releases/tag/v1.0.0) to generate it.

Note: This field MUST be set manually prior to creating the cluster.
string -
tectonic_base_domain The base DNS domain of the cluster.

Example: openstack.dev.coreos.systems.

Note: This field MUST be set manually prior to creating the cluster. This applies only to cloud platforms.
string -
tectonic_ca_cert (optional) The content of the PEM-encoded CA certificate, used to generate Tectonic Console's server certificate. If left blank, a CA certificate will be automatically generated. string ``
tectonic_ca_key (optional) The content of the PEM-encoded CA key, used to generate Tectonic Console's server certificate. This field is mandatory if tectonic_ca_cert is set. string ``
tectonic_ca_key_alg (optional) The algorithm used to generate tectonic_ca_key. The default value is currently recommend. This field is mandatory if tectonic_ca_cert is set. string RSA
tectonic_cl_channel The Container Linux update channel.

Examples: stable, beta, alpha
string stable
tectonic_cluster_cidr This declares the IP range to assign Kubernetes pod IPs in CIDR notation. string 10.2.0.0/16
tectonic_cluster_name The name of the cluster. If used in a cloud-environment, this will be prepended to tectonic_base_domain resulting in the URL to the Tectonic console.

Note: This field MUST be set manually prior to creating the cluster. Warning: Special characters in the name like '.' may cause errors on OpenStack platforms due to resource name constraints.
string -
tectonic_config_version (internal) This declares the version of the global configuration variables. It has no impact on generated assets but declares the version contract of the configuration. string 1.0
tectonic_container_images (internal) Container images to use map <map>
tectonic_etcd_ca_cert_path (optional) The path of the file containing the CA certificate for TLS communication with etcd.

Note: This works only when used in conjunction with an external etcd cluster. If set, the variables tectonic_etcd_servers, tectonic_etcd_client_cert_path, and tectonic_etcd_client_key_path must also be set.
string /dev/null
tectonic_etcd_client_cert_path (optional) The path of the file containing the client certificate for TLS communication with etcd.

Note: This works only when used in conjunction with an external etcd cluster. If set, the variables tectonic_etcd_servers, tectonic_etcd_ca_cert_path, and tectonic_etcd_client_key_path must also be set.
string /dev/null
tectonic_etcd_client_key_path (optional) The path of the file containing the client key for TLS communication with etcd.

Note: This works only when used in conjunction with an external etcd cluster. If set, the variables tectonic_etcd_servers, tectonic_etcd_ca_cert_path, and tectonic_etcd_client_cert_path must also be set.
string /dev/null
tectonic_etcd_count The number of etcd nodes to be created. If set to zero, the count of etcd nodes will be determined automatically.

Note: This is currently only supported on AWS.
string 0
tectonic_etcd_servers (optional) List of external etcd v3 servers to connect with (hostnames/IPs only). Needs to be set if using an external etcd cluster.

Example: ["etcd1", "etcd2", "etcd3"]
list <list>
tectonic_etcd_tls_enabled (optional) If set to true, TLS secure communication for self-provisioned etcd. will be used.

Note: If tectonic_experimental is set to true this variable has no effect, because the experimental self-hosted etcd always uses TLS.
string true
tectonic_experimental If set to true, experimental Tectonic assets are being deployed. string false
tectonic_image_re (internal) Regular expression used to extract repo and tag components string /^([^/]+/[^/]+/[^/]+):(.*)$/
tectonic_license_path The path to the tectonic licence file.

Note: This field MUST be set manually prior to creating the cluster unless tectonic_vanilla_k8s is set to true.
string ``
tectonic_master_count The number of master nodes to be created. This applies only to cloud platforms. string 1
tectonic_pull_secret_path The path the pull secret file in JSON format.

Note: This field MUST be set manually prior to creating the cluster unless tectonic_vanilla_k8s is set to true.
string ``
tectonic_service_cidr This declares the IP range to assign Kubernetes service cluster IPs in CIDR notation. The maximum size of this IP range is /12 string 10.3.0.0/16
tectonic_stats_url The Tectonic statistics collection URL to which to report. string https://stats-collector.tectonic.com
tectonic_update_app_id (internal) The Tectonic Omaha update App ID string 6bc7b986-4654-4a0f-94b3-84ce6feb1db4
tectonic_update_channel (internal) The Tectonic Omaha update channel string tectonic-1.6
tectonic_update_server (internal) The URL of the Tectonic Omaha update server string https://tectonic.update.core-os.net
tectonic_vanilla_k8s If set to true, a vanilla Kubernetes cluster will be deployed, omitting any Tectonic assets. string false
tectonic_versions (internal) Versions of the components to use map <map>
tectonic_worker_count The number of worker nodes to be created. This applies only to cloud platforms. string 3