Skip to content

Commit

Permalink
Bump clouddrove/s3/aws from 1.3.0 to 2.0.0 (#3)
Browse files Browse the repository at this point in the history
* Bump clouddrove/s3/aws from 1.3.0 to 2.0.0

Bumps [clouddrove/s3/aws](https://github.com/clouddrove/terraform-aws-s3) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/clouddrove/terraform-aws-s3/releases)
- [Changelog](https://github.com/clouddrove/terraform-aws-s3/blob/master/CHANGELOG.md)
- [Commits](clouddrove/terraform-aws-s3@1.3.0...2.0.0)

---
updated-dependencies:
- dependency-name: clouddrove/s3/aws
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: update example version and use variable in bucket anme

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anmol Nagpal <anmol@clouddrove.com>
  • Loading branch information
dependabot[bot] and anmolnagpal committed Oct 15, 2023
1 parent 1549a50 commit fe08ecf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _examples/complete/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ locals {
##------------------------------------------------------------------------------
module "s3_bucket" {
source = "clouddrove/s3/aws"
version = "1.3.0"
version = "2.0.0"
name = format("%s-bucket-test", local.name)
versioning = true
acl = "private"
Expand Down
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ locals {
##------------------------------------------------------------------------------
module "s3_bucket" {
source = "clouddrove/s3/aws"
version = "1.3.0"
create_bucket = var.enabled && var.create_s3_bucket
name = format("%s-bucket-athena", var.name)
version = "2.0.0"
enabled = var.enabled && var.create_s3_bucket
name = var.bucket_name
label_order = var.bucket_label_order
versioning = var.bucket_versioning
acl = var.bucket_acl
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ variable "create_s3_bucket" {
description = "Conditionally create S3 bucket."
}

variable "bucket_name" {
type = string
default = "athena-bucket"
description = "name of s3 bucket"
}

variable "bucket_versioning" {
type = bool
default = true
Expand Down

0 comments on commit fe08ecf

Please sign in to comment.