Files
netbird-iac/terraform/setup_keys.tf
Prox 36672d3f10
Some checks failed
Terraform / terraform (push) Failing after 8s
feat: add pilot-ivanov setup key and encrypted key export in CI
2026-02-15 19:21:41 +02:00

26 lines
726 B
HCL

# Setup keys for peer onboarding
resource "netbird_setup_key" "gs_onboarding" {
name = "ground-station-onboarding"
type = "reusable"
auto_groups = [netbird_group.ground_stations.id]
usage_limit = 0 # unlimited
ephemeral = false
}
resource "netbird_setup_key" "pilot_onboarding" {
name = "pilot-onboarding"
type = "reusable"
auto_groups = [netbird_group.pilots.id]
usage_limit = 0
ephemeral = false
}
# Test setup key for e2e demo (one-time use, peer will be renamed to "pilot-ivanov")
resource "netbird_setup_key" "pilot_ivanov" {
name = "pilot-ivanov"
type = "one-off"
auto_groups = [netbird_group.pilots.id]
usage_limit = 1
ephemeral = false
}