Skip to content

Commit d371175

Browse files
authored
chore: Added simple S3 bucket example (#248)
1 parent c074ef4 commit d371175

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

examples/complete/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Note that this example may create resources which cost money. Run `terraform des
4747
| <a name="module_cloudfront_log_bucket"></a> [cloudfront\_log\_bucket](#module\_cloudfront\_log\_bucket) | ../../ | n/a |
4848
| <a name="module_log_bucket"></a> [log\_bucket](#module\_log\_bucket) | ../../ | n/a |
4949
| <a name="module_s3_bucket"></a> [s3\_bucket](#module\_s3\_bucket) | ../../ | n/a |
50+
| <a name="module_simple_bucket"></a> [simple\_bucket](#module\_simple\_bucket) | ../../ | n/a |
5051

5152
## Resources
5253

examples/complete/main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ module "cloudfront_log_bucket" {
106106
force_destroy = true
107107
}
108108

109+
module "simple_bucket" {
110+
source = "../../"
111+
112+
bucket = "simple-${random_pet.this.id}"
113+
114+
force_destroy = true
115+
}
116+
109117
module "s3_bucket" {
110118
source = "../../"
111119

0 commit comments

Comments
 (0)