SFTPGo Terraform Provider
Terraform provider for drakkan/sftpgo.
terraform {
required_providers {
sftpgo = {
source = "joaquimmmagalhaes/sftpgo"
version = "0.0.2"
}
}
}
provider "sftpgo" {
# Should another way to handle this values. Like vault secret or environment variable.
host = "example.com"
username = "dos"
password = "test123"
}
resource "sftpgo_admin" "test" {
status = 1
username = "test"
description = "test admin"
password = "123456789"
email = "text@example.com"
permissions = [ "*" ]
additional_info = "Terraform test user"
filters {
allow_list = ["0.0.0.0/0"]
}
}
This not production ready yet. This is still in the early stages of development and will receive more updates that will not be B/C.