Implement the tor_family_identity resource

This commit is contained in:
Abel Luck 2025-06-06 10:51:40 +02:00
parent 0951242b32
commit ec57a47ba2
22 changed files with 558 additions and 67 deletions

View file

@ -0,0 +1,14 @@
resource "tor_family_identity" "example" {
family_name = "MyFamily"
}
# Access the generated family identity
output "family_id" {
value = tor_family_identity.example.id
}
# Use the secret key to configure your Tor relay
resource "local_sensitive_file" "family_key" {
content_base64 = tor_family_identity.example.secret_key
filename = "MyFamily.secret_family_key"
}