Skip to content

Commit

Permalink
Merge pull request #7 from jrab66/test-ci
Browse files Browse the repository at this point in the history
feat: updated s3 module fifth bucket
  • Loading branch information
jrab66 authored Oct 1, 2024
2 parents 4a8c76b + 6c5eb37 commit d52dfbe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ jobs:
run: |
cd modules/${{ matrix.module }}
# shellcheck disable=SC2016
npx semantic-release -t ${{ matrix.module }}/'${version}'
npx semantic-release -t ${{ matrix.module }}-'${version}'
1 change: 1 addition & 0 deletions modules/s3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ No modules.
| [aws_s3_bucket_versioning.bucket2](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_versioning) | resource |
| [aws_s3_bucket_versioning.bucket3](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_versioning) | resource |
| [aws_s3_bucket_versioning.bucket4](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_versioning) | resource |
| [aws_s3_bucket_versioning.bucket5](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_versioning) | resource |
| [aws_s3_bucket_versioning.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_versioning) | resource |

## Inputs
Expand Down
6 changes: 6 additions & 0 deletions modules/s3/bucket.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ resource "aws_s3_bucket_versioning" "bucket4" {
status = var.enable_versioning ? "Enabled" : "Disabled"
}
}
resource "aws_s3_bucket_versioning" "bucket5" {
bucket = "${aws_s3_bucket.this.id}-5"
versioning_configuration {
status = var.enable_versioning ? "Enabled" : "Disabled"
}
}

0 comments on commit d52dfbe

Please sign in to comment.