mirror of
https://github.com/acaloiaro/sfos
synced 2026-07-21 10:12:24 +00:00
53 lines
3 KiB
Text
53 lines
3 KiB
Text
# 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 may not be for AWS (Amazon Web Services)
|
|
#
|
|
# AWS_ACCESS_KEY_ID is the access key for reading/writing opentofu/terraform state to/from a s3-compatible object store
|
|
export AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID>
|
|
|
|
# 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
|
|
export AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY>
|
|
|
|
# Tailscale key to join the Tailnet
|
|
export TF_VAR_tailscale_auth_key=<TF_VAR_tailscale_auth_key>
|
|
|
|
# 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
|
|
#######################################################################################################################
|
|
|
|
# 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>
|
|
#
|
|
# 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
|
|
# Linode types can be retrieved with: linode-cli linodes types
|
|
export TF_VAR_compute_provider_node_type=<TF_VAR_compute_provider_node_type>
|
|
#Linode
|
|
# export TF_VAR_compute_provider_node_type=<TF_VAR_compute_provider_node_type>
|
|
|
|
# The region in which to create compute nodes
|
|
# Hetzner
|
|
export TF_VAR_compute_provider_region=<TF_VAR_compute_provider_region>
|
|
# export TF_VAR_compute_provider_region=<TF_VAR_compute_provider_region>
|
|
|
|
# The location in the region in which to create compute nodes
|
|
export TF_VAR_compute_provider_location=<TF_VAR_compute_provider_location>
|
|
|
|
#######################################################################################################################
|
|
# /Compute provider configuration
|
|
#######################################################################################################################
|
|
|
|
#######################################################################################################################
|
|
# Cluster configuration
|
|
#######################################################################################################################
|
|
export TF_VAR_ghcr_token=<TF_VAR_ghcr_token>
|
|
export TF_VAR_incus_cluster_ip=<TF_VAR_incus_cluster_ip>
|
|
export TF_VAR_agenix_public_key=<TF_VAR_agenix_public_key>
|
|
export TF_VAR_incus_token=<TF_VAR_incus_token>
|