s3-bucket
dod-iac/s3-bucket/aws
Creates a AWS S3 bucket.
Usage Creates a AWS S3 bucket. ``hcl module "s3_bucket" { source = "dod-iac/s3-bucket/aws" name = format("app-%s-s3-%s", var.application, var.environment) tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } ` Creates an encrypted AWS S3 bucket. `hcl module "s3_kms_key" { source = "dod-iac/s3-kms-key/aws" name = format("alias/app-%s-s3-%s", var.application, var.environment) description = format("A KMS key used to encrypt objects at rest in S3 for %s:%s.", var.application, var.environment) principals = ["*"] tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } module "s3_bucket" { source = "dod-iac/s3-bucket/aws" kms_master_key_id = module.s3_kms_key.aws_kms_key_arn name = format("app-%s-s3-%s", var.ap
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | The name of the AWS S3 bucket. | required |
| object_ownership | string | The object ownership setting. One of the following values: "BucketOwnerEnforced" | "ObjectWriter" |
| lifecycle_rules | list(object({ id = op | A list of lifecycle rules. | [] |
| logging | object({ bucket = string | The `bucket` is the bucket that will receive the log objects. The `prefix` is t | null |
| notifications | list(object({ id | List of notifications to configure. | [] |
| tags | map(string) | Tags applied to the AWS S3 bucket. | {} |
| transfer_acceleration_enabled | bool | If true, then AWS S3 Transfer Acceleration is enabled for the bucket. | false |
| versioning_enabled | bool | Enable versioning. Once you version-enable a bucket, it can never return to an u | true |
| grants | list(object({ id | List of ACL policy grants. | [] |
| server_side_encryption | object({ bucket_key_enable | The kms_master_key_id is the default KMS used for server-side encryption. If bu | null |
| require_acl_bucket_owner_full_control | bool | Require the object ACL be set to "bucket-owner-full-control" on all PutObject AP | false |
| require_tls | bool | Require all API requests to use TLS connections. | false |
arn — The Amazon Resource Name (ARN) of the AWS S3 Bucket.bucket_regional_domain_name — The regional domain name of the AWS S3 Bucket.id — The ID of the AWS S3 Bucket.endpoint_transfer_acceleration — If AWS S3 Transfer Acceleration is enabled, then the endpoint to use over IPv4.endpoint_transfer_acceleration_dual_stack — If AWS S3 Transfer Acceleration is enabled, then the dual-stack endpoint to use over IPv4 or IPv6.region — The AWS region this bucket resides in.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,