AWS S3 bucket Helm chart for the Terraform-operator.
helm repo add isaaguilar https://isaaguilar.github.io/helm-charts
helm repo update
helm upgrade --install terraform-operator isaaguilar/terraform-operator \
--version v0.2.1 --namespace tf-system --create-namespace
helm repo add appvia-community https://appvia-community.storage.googleapis.com
helm repo update
helm search repo appvia-community
helm install [RELEASE_NAME] appvia-community/aws-s3-bucket \
--namespace [NAMESPACE] \
--create-namespace \
--set aws.region=[AWS_REGION] \
--set aws.credentials=[AWS_CREDENTIALS] \
--set s3.bucket=[S3_BUCKET]
helm upgrade --install [RELEASE_NAME] appvia-community/aws-s3-bucket \
--namespace [NAMESPACE] \
--create-namespace \
--set aws.region=[AWS_REGION] \
--set aws.credentials=[AWS_CREDENTIALS] \
--set s3.bucket=[S3_BUCKET]
helm uninstall [RELEASE_NAME]
helm upgrade --install aws-s3-bucket appvia-community/aws-s3-bucket \
--namespace my-ns \
--set aws.region=eu-west-2 \
--set s3.bucket=appvia-mys3bucket-123 \
--set aws.credentials[0].secretNameRef.key=data,aws.credentials[0].secretNameRef.name=tf-aws-secrets,aws.credentials[0].secretNameRef.namespace=my-ns
Key | Type | Default | Description |
---|---|---|---|
aws.credentials | object | {} |
The AWS credentials to be used for provisioning the S3 bucket |
aws.region | string | "" |
The AWS region where the S3 bucket should be created |
s3.acl | string | "private" |
The canned ACL to apply [MUTABLE] |
s3.block_public_acls | bool | true |
Whether Amazon S3 should block public ACLs for this bucket [MUTABLE] |
s3.block_public_policy | bool | true |
Whether Amazon S3 should block public bucket policies for this bucket [MUTABLE] |
s3.bucket | string | "" |
The name of the bucket. If omitted, Terraform will assign a random, unique name [IMMUTABLE] |
s3.ignore_public_acls | bool | true |
Whether Amazon S3 should ignore public ACLs for this bucket [MUTABLE] |
s3.restrict_public_buckets | bool | true |
Whether Amazon S3 should restrict public bucket policies for this bucket [MUTABLE] |
s3.server_side_encryption_configuration | object | {"rule":{"apply_server_side_encryption_by_default":{"sse_algorithm":"aws:kms"},"bucket_key_enabled":true}} |
Map containing server-side encryption configuration [MUTABLE] |
s3.versioning | object | {"enabled":true} |
Map containing versioning configuration [MUTABLE] |
terraform.module | string | "https://github.com/terraform-aws-modules/terraform-aws-s3-bucket.git" |
The HashiCorp official Terraform module |
terraform.moduleVersion | string | "v2.14.1" |
The version of the Terraform module used to create an S3 bucket |
terraform.version | string | "1.1.4" |
The version of Terraform used |
Autogenerated from chart metadata using helm-docs v1.7.0
IMMUTABLE
parameter after initial creation will force a re-creation of the AWS S3 bucket. However a MUTABLE
parameter is a configurable option by design and can be changed.