sftp
User
Terraform reference for User.
Schema Properties
| Property | Type | Description |
|---|---|---|
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 | string | Your S3 or GCS bucket name. |
s3_accesskey | string | S3 access key value. (Only for S3, not GCS) |
s3_secretaccesskey | string | S3 secret access key value. (Only for S3, not GCS) |
sftp_username Required | string | Define 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 | string | The 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" }}