Global InfraGlobal Infra Cloud
sftp

User

Terraform reference for User.

Schema Properties

PropertyTypeDescription
acl
Required
list(string)List of IP ACL, using CIDR format. 0.0.0.0/0 is prohibited.
Examples:10.12.13.14/3210.12.13.10/24
bucket
Required
stringYour S3 or GCS bucket name.
s3_accesskey
stringS3 access key value. (Only for S3, not GCS)
s3_secretaccesskey
stringS3 secret access key value. (Only for S3, not GCS)
sftp_username
Required
stringDefine the name of your SFTP username. Will be automatically prefixed by tenant_env. Put only a CUSTOM value.
Examples:exchange01
ssh_public_keys
Required
list(string)List of SSH public keys. Format accepted : 'ssh-rsa' or 'ssh-ed25519'.
storage_backend
Required
stringThe Storage backend. Choose S3 or GCS
resource "gi_sftp_user" "example" {  attributes = {    acl             = "10.12.13.14/32"    bucket          = "example-bucket"    sftp_username   = "exchange01"    ssh_public_keys = ["value-1", "value-2"]    storage_backend = "S3"  }}

Usage Notes