-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME.yaml
55 lines (45 loc) · 1.2 KB
/
README.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
#
# This is the canonical configuration for the `README.md`
# Run `make readme` to rebuild the `README.md`
#
# Name of this project
name: ""
# Short description of this project
description: |-
S3 module to create a bucket with encrpytion, TLS, cors rules and intelligent tiering.
You can see a working example in the ./example directory.
# Canonical GitHub repo
github_repo: osodevops/aws-terraform-module-s3
# How to use this project
usage: |-
### Requirements
Terraform 1.1.7
# Example usage
examples: |-
Follow this example
```hcl
module "s3" {
source = "../"
s3_bucket_name = "exaple_bucket_name"
s3_bucket_acl = "private"
s3_bucket_force_destroy = false
common_tags = var.common_tags
# Bucket public access
restrict_public_buckets = true
block_public_acls = true
block_public_policy = true
ignore_public_acls = true
versioning = {
status = "Enabled"
mfa_delete = "Disabled"
}
cors_rule = {
allowed_headers = ["Authorization"]
allowed_methods = ["GET"]
allowed_origins = ["*"]
expose_headers = []
max_age_seconds = 3000
}
}
```