Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Requirements

Name Version
terraform >= 1.0
aws ~> 5.0
random ~> 3.0

Providers

Name Version
aws ~> 5.0
random ~> 3.0

Modules

No modules.

Resources

Name Type
aws_iam_role.materialize_s3 resource
aws_iam_role_policy.materialize_s3 resource
aws_s3_bucket.materialize_storage resource
aws_s3_bucket_lifecycle_configuration.materialize_storage resource
aws_s3_bucket_server_side_encryption_configuration.materialize_storage resource
aws_s3_bucket_versioning.materialize_storage resource
random_id.bucket_suffix resource

Inputs

Name Description Type Default Required
bucket_encryption_mode Server-side encryption mode to apply (SSE-S3 by default) string "SSE-S3" no
bucket_force_destroy Enable force destroy for the S3 bucket bool true no
bucket_kms_key_arn ARN of the KMS key to use when bucket_encryption_mode is SSE-KMS string null no
bucket_lifecycle_rules List of lifecycle rules for the S3 bucket
list(object({
id = string
enabled = bool
prefix = string
transition_days = number
transition_storage_class = string
noncurrent_version_expiration_days = number
}))
n/a yes
cluster_oidc_issuer_url OIDC issuer URL for the EKS cluster string n/a yes
enable_bucket_encryption Enable server-side encryption for the S3 bucket bool true no
enable_bucket_versioning Enable versioning for the S3 bucket bool true no
name_prefix Prefix for all resource names string n/a yes
oidc_provider_arn ARN of the OIDC provider for the EKS cluster string n/a yes
service_account_name Kubernetes service account name for the Materialize instance that will use IRSA string n/a yes
service_account_namespace Kubernetes namespace for the Materialize instance service account that will use IRSA string n/a yes
tags Tags to apply to all resources map(string) {} no

Outputs

Name Description
bucket_arn The ARN of the S3 bucket
bucket_domain_name The domain name of the S3 bucket
bucket_id The name of the S3 bucket
bucket_name The name of the S3 bucket
materialize_s3_role_arn ARN of the IAM role for Materialize S3 access