Skip to content

Commit

Permalink
chore: Added simple S3 bucket example (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbabenko authored Aug 7, 2023
1 parent c074ef4 commit d371175
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Note that this example may create resources which cost money. Run `terraform des
| <a name="module_cloudfront_log_bucket"></a> [cloudfront\_log\_bucket](#module\_cloudfront\_log\_bucket) | ../../ | n/a |
| <a name="module_log_bucket"></a> [log\_bucket](#module\_log\_bucket) | ../../ | n/a |
| <a name="module_s3_bucket"></a> [s3\_bucket](#module\_s3\_bucket) | ../../ | n/a |
| <a name="module_simple_bucket"></a> [simple\_bucket](#module\_simple\_bucket) | ../../ | n/a |

## Resources

Expand Down
8 changes: 8 additions & 0 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "../../"

Expand Down

0 comments on commit d371175

Please sign in to comment.