File tree Expand file tree Collapse file tree 1 file changed +16
-40
lines changed Expand file tree Collapse file tree 1 file changed +16
-40
lines changed Original file line number Diff line number Diff line change 1- AWS S3 Terraform Module
2- =====================
3-
4- Create AWS S3 bucket and set policy
5-
6- Usage:
7- ------
8-
9- module "s3" {
10- source = "../tf_s3"
11- name = "apps"
12- environment = "dev01"
13- }
14-
15-
16- ## Inputs
17-
18- | Name | Description | Default | Required |
19- | ------| -------------| :-----:| :-----:|
20- | environment | Environment (ex: dev, qa, stage, prod) | - | yes |
21- | name | Name | - | yes |
22- | namespaced | Namespace all resources (prefixed with the environment)? | ` true ` | no |
23- | principal | principal | - | yes |
24- | tags | A map of tags to add to all resources | ` <map> ` | no |
25-
26- ## Outputs
27-
28- | Name | Description |
29- | ------| -------------|
30- | s3_bucket_arn | AWS S3 Bucket ARN |
31- | s3_bucket_domain_name | AWS S3 Bucket Domain Name |
32- | s3_bucket_hosted_zone_id | AWS S3 Bucket Hosted Zone ID |
33- | s3_bucket_id | AWS S3 Bucket ID |
34- | s3_bucket_name | AWS S3 Bucket Name |
35- | s3_bucket_region | AWS S3 Bucket Region |
36-
37-
38- ### Resource Graph
39-
40- ![ Terraform Graph] ( graph.png )
1+ AWS S3 Bucket Terraform module
2+ ========================
3+
4+ Terraform module which creates S3 buckets on AWS.
5+
6+ Usage
7+ -----
8+
9+ ``` hcl
10+ module "s3-buckets" {
11+ source = "devops-workflow/s3-bucket/aws"
12+ names = ["bucket-1", "bucket2", "bucket_3"]
13+ environment = "dev"
14+ org = "corp"
15+ }
16+ ```
You can’t perform that action at this time.
0 commit comments