asustor-s3-sync

dee-kryvenko/asustor-s3-sync/aws

Terraform Module HCL AWS

Terraform Module to set up Asustor S3 Cloud Sync

Install
module "asustor-s3-sync" {
source = "dee-kryvenko/asustor-s3-sync/aws"
version = "0.0.1"
}
plain text: /constructs/tfmod-dee-kryvenko-asustor-s3-sync-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Module to set up Asustor S3 Cloud Sync. - Creates IAM policy, IAM group and IAM user. - Creates access key and secret for the IAM user. - Creates S3 bucket. - Bucket policy denies non-private uploads. - Bucket is versioned. - Assuming Asustor will use Glacier for uploads - bucket lifecycle rule will move non current versions to Deep Archive and eventually completely expire them. Requirements | Name | Version | |------|---------| | terraform | ~> 1.0 | | aws | ~> 3.67 | | random | ~> 3.1 | | template | ~> 2.2 | Providers | Name | Version | |------|---------| | aws | 3.67.0 | | random | 3.1.0 | | template | 2.2.0 | Modules No modules. Resources | Name | Type | |------|------| | aws_iam_access_key.asustor | resource | | aws_iam_group.asustor | resource | | aws_iam_group_policy_attac

Inputs (4)
NameTypeDescriptionDefault
iam_pgp_keystringSee https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ required
noncurrent_version_expiration_daysnumberMinimum storage duration charge for Deep Archive is 180 days. Completely deletes180
noncurrent_version_transition_daysnumberAssuming Asustor uploads to Glacier - minimum storage duration charge for it is 90
noncurrent_version_transition_storage_classstringAssuming Asustor uploads to Glacier - moves old versions of files (including del"DEEP_ARCHIVE"
Outputs (3)
access_key — IAM User Access Key
access_key_secret — IAM User Access Key Secret (encrypted if `iam_pgp_key` was set)
bucket — Bucket name
Resources (9)
aws_iam_access_keyaws_iam_groupaws_iam_group_policy_attachmentaws_iam_policyaws_iam_useraws_iam_user_group_membershipaws_s3_bucketaws_s3_bucket_policyrandom_string
Topics & Tags
asustors3
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.1
Cloud AWS
★ Stars0
Forks0
Total downloads4.9k
Inputs4
Outputs3
Resources9
LicenseApache-2.0
Namespacedee-kryvenko
Updated