2024-11-29 06:33:16 +00:00
|
|
|
# sfos uses opentofu/terraform to provision infrastrucutre. By default, infrastructure state may be stored in any s3-compatible object store.
|
2024-12-15 16:04:05 +00:00
|
|
|
# Despite the name of this variables, this access key may not be for AWS (Amazon Web Services)
|
2024-11-29 06:33:16 +00:00
|
|
|
#
|
|
|
|
|
# AWS_ACCESS_KEY_ID is the access key for reading/writing opentofu/terraform state to/from a s3-compatible object store
|
2024-12-15 16:04:05 +00:00
|
|
|
export AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID>
|
2024-11-29 00:21:06 +00:00
|
|
|
|
2024-11-29 06:33:16 +00:00
|
|
|
# sfos uses opentofu/terraform to provision infrastrucutre. By default, infrastructure state may be stored in any s3-compatible object store
|
|
|
|
|
# Despite the name of this variables, this access key need not be for AWS (Amazon Web Services)
|
|
|
|
|
#
|
|
|
|
|
# AWS_SECRET_ACCESS_KEY is the secret access key for reading/writing opentofu/terraform to/from a s3-compatible object store
|
2024-12-15 16:04:05 +00:00
|
|
|
export AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY>
|
2024-11-29 00:21:06 +00:00
|
|
|
|
|
|
|
|
# Tailscale key to join the Tailnet
|
2024-12-15 16:04:05 +00:00
|
|
|
export TF_VAR_tailscale_auth_key=<TF_VAR_tailscale_auth_key>
|
2024-11-29 06:33:16 +00:00
|
|
|
|
|
|
|
|
# The SSH public key of the admin user who is able to SSH into created nodes
|
|
|
|
|
export TF_VAR_admin_ssh_public_key=<TF_VAR_admin_ssh_public_key>
|
|
|
|
|
|
|
|
|
|
#######################################################################################################################
|
|
|
|
|
# Compute provider configuration
|
|
|
|
|
#######################################################################################################################
|
|
|
|
|
|
2024-12-15 16:04:05 +00:00
|
|
|
# Access token for accessing your compute provider's provisioning API
|
|
|
|
|
# Below is hetzner
|
|
|
|
|
export TF_VAR_compute_provider_access_token=<TF_VAR_compute_provider_access_token>
|
|
|
|
|
# Linode
|
|
|
|
|
# export TF_VAR_compute_provider_access_token=<TF_VAR_compute_provider_access_token>
|
|
|
|
|
#
|
2024-11-29 06:33:16 +00:00
|
|
|
# The name your compute provider uses to refer to the type of compute resource/node you're creating, e.g Hetzner 'cpx21' for CPX21 server
|
2024-12-01 15:25:24 +00:00
|
|
|
# Linode types can be retrieved with: linode-cli linodes types
|
2024-12-02 14:17:32 +00:00
|
|
|
export TF_VAR_compute_provider_node_type=<TF_VAR_compute_provider_node_type>
|
2024-12-15 16:04:05 +00:00
|
|
|
#Linode
|
|
|
|
|
# export TF_VAR_compute_provider_node_type=<TF_VAR_compute_provider_node_type>
|
2024-11-29 06:33:16 +00:00
|
|
|
|
|
|
|
|
# The region in which to create compute nodes
|
2024-12-02 14:17:32 +00:00
|
|
|
# Hetzner
|
2024-11-29 06:33:16 +00:00
|
|
|
export TF_VAR_compute_provider_region=<TF_VAR_compute_provider_region>
|
2024-12-15 16:04:05 +00:00
|
|
|
# export TF_VAR_compute_provider_region=<TF_VAR_compute_provider_region>
|
2024-11-29 06:33:16 +00:00
|
|
|
|
2024-12-02 01:10:17 +00:00
|
|
|
# The location in the region in which to create compute nodes
|
|
|
|
|
export TF_VAR_compute_provider_location=<TF_VAR_compute_provider_location>
|
|
|
|
|
|
2024-11-29 06:33:16 +00:00
|
|
|
#######################################################################################################################
|
2024-12-16 14:46:07 +00:00
|
|
|
# /Compute provider configuration
|
2024-11-29 06:33:16 +00:00
|
|
|
#######################################################################################################################
|
2024-12-27 15:37:08 +00:00
|
|
|
|
|
|
|
|
#######################################################################################################################
|
|
|
|
|
# Cluster configuration
|
|
|
|
|
#######################################################################################################################
|
2024-12-29 01:29:47 +00:00
|
|
|
export TF_VAR_ghcr_token=<TF_VAR_ghcr_token>
|
2024-12-27 15:37:08 +00:00
|
|
|
export TF_VAR_incus_cluster_ip=<TF_VAR_incus_cluster_ip>
|
2024-12-29 01:29:47 +00:00
|
|
|
export TF_VAR_agenix_public_key=<TF_VAR_agenix_public_key>
|
2025-02-10 14:39:49 +00:00
|
|
|
export TF_VAR_incus_token=<TF_VAR_incus_token>
|