s3-bucket

darzanebor/s3-bucket/yandex

Terraform Module HCL YANDEX

Yandex.Cloud Terraform S3 Bucket module

Install
module "s3-bucket" {
source = "darzanebor/s3-bucket/yandex"
version = "0.0.1"
}
plain text: /constructs/tfmod-darzanebor-s3-bucket-yandex/install.txt
⭐ Source on GitHub 📦 Registry page
README

Yandex.Cloud Terraform S3 Bucket module Example `` module "bucket" { source = "github.com/darzanebor/terraform-yandex-s3-bucket.git" name = "my-bucket" folder_id = "some_folder_id" versioning = false enable_encryption = false max_size = 10737418240 default_storage_class = "STANDARD" anonymous_access_flags = { read = true list = true } lifecycle_rules = [{ id = "log" enabled = true prefix = "log/" transition = { days = 30 storage_class = "COLD" } expiration = { days = 90 } noncurrent_version_transition = { days = 30 storage_class = "COLD" } noncurrent_version_expiration = { days = 90 } }, ] cors_rule = { allowed_headers = ["*"] allowed_methods = ["GET", "PUT"] allowed_origins = ["https://storage-cloud.example.com"] expose_headers = ["ETag"] max_age_seconds = 3000 } https_certificate_id = {

Inputs (11)
NameTypeDescriptionDefault
namestring(Required) Bucket name. required
folder_idstring(Required) Folder ID. required
max_sizestring(Optional) The size of bucket, in bytes.null
versioningbool(Optional) A state of versioning.false
anonymous_access_flagsmap(Optional) Provides various access to objects.{}
https_certificate_idmap(Optional) Manages https certificates for bucket.{}
default_storage_classstring(Optional) Storage class which is used for storing objects by default. Available"STANDARD"
cors_rulemap(Optional) A rule of Cross-Origin Resource Sharing.{}
lifecycle_ruleslist(Optional) A configuration of object lifecycle management.[]
enable_encryptionbool(Optional) A state of bucket encryption.false
bucket_loggingmap(Optional) A settings of bucket logging.{}
Outputs (4)
bucket_fqdn — Domain of bucket
bucket_id — ID of bucket
bucket_sa_access_key — SA access key
bucket_sa_secret_key — SA secret key
Resources (5)
yandex_iam_service_accountyandex_iam_service_account_static_access_keyyandex_kms_symmetric_keyyandex_resourcemanager_folder_iam_bindingyandex_storage_bucket
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.1
Cloud YANDEX
★ Stars0
Forks0
Total downloads106
Inputs11
Outputs4
Resources5
Namespacedarzanebor
Updated