Skip to content

dg-i/terraform-provider-sftpgo

 
 

Repository files navigation

SFTPGo Terraform Provider

release

Terraform provider for drakkan/sftpgo.

Usage example

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 = "[email protected]"
  permissions = [ "*" ]
  additional_info = "Terraform test user"

  filters {
    allow_list = ["0.0.0.0/0"]
  }
}

Note

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.9%
  • Makefile 1.1%