# Copy to `.env` (gitignored) and fill in real values from the clouds.yaml # you can download at: Infomaniak Manager → Public Cloud → your project → # API access → Download clouds.yaml. # # Once filled in, just run `nix develop` from the repo root — the devShell's # shellHook automatically sources this file. Then `openstack ...` and # `terraform ...` are authenticated. # --- OpenStack auth (application credential = modern, recommended) --- # In your downloaded clouds.yaml these live under: # clouds.openstack.auth_type # clouds.openstack.auth.auth_url # clouds.openstack.auth.application_credential_id # clouds.openstack.auth.application_credential_secret export OS_AUTH_TYPE=v3applicationcredential export OS_AUTH_URL=https://api.pub1.infomaniak.cloud/identity/v3 export OS_APPLICATION_CREDENTIAL_ID=REPLACE_ME export OS_APPLICATION_CREDENTIAL_SECRET=REPLACE_ME export OS_REGION_NAME=dc3-a export OS_INTERFACE=public export OS_IDENTITY_API_VERSION=3 # --- Alternative: legacy username + password auth --- # Only if your clouds.yaml uses passwords instead of an application credential. # Comment out the four OS_AUTH_TYPE / OS_AUTH_URL / OS_APPLICATION_* lines above # and uncomment these instead: # # export OS_AUTH_URL=https://api.pub1.infomaniak.cloud/identity/v3 # export OS_PROJECT_ID=REPLACE_ME # export OS_PROJECT_NAME=REPLACE_ME # export OS_USER_DOMAIN_NAME=Default # export OS_USERNAME=REPLACE_ME # export OS_PASSWORD=REPLACE_ME # --- Terraform variables --- # Contents of ~/.ssh/id_ed25519.pub (one line, quoted). export TF_VAR_ssh_public_key="ssh-ed25519 AAAA... tyro@lize.ch" # Override defaults from variables.tf only if you want a different size/network: # export TF_VAR_flavor_name="a2-ram4-disk50-perf1" # export TF_VAR_external_network="ext-net1" # export TF_VAR_watcher_image_name="nixos-watcher"