s3-buckets
devops-workflow/s3-buckets/aws
Terraform module to manage AWS S3 buckets
 AWS S3 Buckets Terraform module ======================== Terraform module which creates S3 buckets on AWS. Terraform Registry: https://registry.terraform.io/modules/devops-workflow/s3-buckets/aws Usage ----- ``hcl module "s3-buckets" { source = "devops-workflow/s3-buckets/aws" names = ["bucket1", "bucket2", "bucket3"] environment = "dev" org = "corp" } ` This would create/manage 3 S3 buckets: corp-dev-bucket1, corp-dev-bucket2, and corp-dev-bucket3 If a S3 bucket already exists, you will need to import it. Like this: `Shell terraform import module.s3-buckets.aws_s3_bucket.this[0] corp-dev-bucket1 ``
| Name | Type | Description | Default |
|---|---|---|---|
| names | any | List of S3 bucket names | required |
| environment | any | Environment (ex: `dev`, `qa`, `stage`, `prod`). (Second or top level namespace. | required |
| namespace-env | any | Prefix name with the environment. If true, format is: <env>-<name> | true |
| product | any | TAG: Company/business product | "UNDEF-S3-Buckets" |
| team | any | TAG: Department/team of people responsible for service | "UNDEF-S3-Buckets" |
| versioned | any | Version the bucket | false |
| namespace-org | any | Prefix name with the organization. If true, format is: <org>-<env namespaced nam | true |
| force_destroy | any | Delete all objects in bucket on destroy | false |
| attributes | any | Suffix name with additional attributes (policy, role, etc.) | [] |
| component | any | TAG: Underlying, dedicated piece of service (Cache, DB, ...) | "UNDEF-S3-Buckets" |
| delimiter | any | Delimiter to be used between `name`, `namespaces`, `attributes`, etc. | "-" |
| organization | any | Organization name (Top level namespace) | "" |
| owner | any | TAG: Owner of the service | "UNDEF-S3-Buckets" |
| principal | any | principal | "*" |
| monitor | any | TAG: Should resource be monitored | "UNDEF-S3-Buckets" |
| service | any | TAG: Application (microservice) name | "UNDEF-S3-Buckets" |
| tags | any | A map of additional tags | {} |
| enabled | any | Set to false to prevent the module from creating anything | true |
| public | any | Allow public read access to bucket | false |
hosted_zone_ids — List of AWS S3 Bucket Hosted Zone IDsids — List of AWS S3 Bucket IDsnames — List of AWS S3 Bucket Namesregions — List of AWS S3 Bucket Regionsarns — List of AWS S3 Bucket ARNsdomain_names — List of AWS S3 Bucket Domain NamesAzure 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,