From d37117535dd57d7272b4cbd12c76e87a70d93b19 Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Mon, 7 Aug 2023 19:55:45 +0200 Subject: [PATCH] chore: Added simple S3 bucket example (#248) --- examples/complete/README.md | 1 + examples/complete/main.tf | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/examples/complete/README.md b/examples/complete/README.md index fc726b5a..31f7af37 100644 --- a/examples/complete/README.md +++ b/examples/complete/README.md @@ -47,6 +47,7 @@ Note that this example may create resources which cost money. Run `terraform des | [cloudfront\_log\_bucket](#module\_cloudfront\_log\_bucket) | ../../ | n/a | | [log\_bucket](#module\_log\_bucket) | ../../ | n/a | | [s3\_bucket](#module\_s3\_bucket) | ../../ | n/a | +| [simple\_bucket](#module\_simple\_bucket) | ../../ | n/a | ## Resources diff --git a/examples/complete/main.tf b/examples/complete/main.tf index 1af70ea1..c3b2ef0c 100644 --- a/examples/complete/main.tf +++ b/examples/complete/main.tf @@ -106,6 +106,14 @@ module "cloudfront_log_bucket" { force_destroy = true } +module "simple_bucket" { + source = "../../" + + bucket = "simple-${random_pet.this.id}" + + force_destroy = true +} + module "s3_bucket" { source = "../../"