Skip to content

Commit 5f1973f

Browse files
authored
Merge pull request #114 from trussworks/update-module-versions
Update module versions
2 parents 27753d4 + 600a553 commit 5f1973f

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ module "bootstrap" {
3838

3939
| Name | Source | Version |
4040
|------|--------|---------|
41-
| terraform\_state\_bucket | trussworks/s3-private-bucket/aws | ~> 4.3.0 |
42-
| terraform\_state\_bucket\_logs | trussworks/logs/aws | ~> 14.2.0 |
41+
| terraform\_state\_bucket | trussworks/s3-private-bucket/aws | ~> 7.1.0 |
42+
| terraform\_state\_bucket\_logs | trussworks/logs/aws | ~> 16.1.0 |
4343

4444
## Resources
4545

@@ -59,7 +59,7 @@ module "bootstrap" {
5959
| dynamodb\_table\_name | Name of the DynamoDB Table for locking Terraform state. | `string` | `"terraform-state-lock"` | no |
6060
| dynamodb\_table\_tags | Tags of the DynamoDB Table for locking Terraform state. | `map(string)` | ```{ "Automation": "Terraform", "Name": "terraform-state-lock" }``` | no |
6161
| enable\_s3\_public\_access\_block | Bool for toggling whether the s3 public access block resource should be enabled. | `bool` | `true` | no |
62-
| kms\_master\_key\_id | The AWS KMS master key ID used for the SSE-KMS encryption of the state bucket. | `string` | `null` | no |
62+
| kms\_master\_key\_id | The AWS KMS master key ID used for the SSE-KMS encryption of the state bucket. | `string` | `""` | no |
6363
| log\_bucket\_tags | Tags to associate with the bucket storing the Terraform state bucket logs | `map(string)` | ```{ "Automation": "Terraform" }``` | no |
6464
| log\_bucket\_versioning | A string that indicates the versioning status for the log bucket. | `string` | `"Disabled"` | no |
6565
| log\_name | Log name (for backwards compatibility this can be modified to logs) | `string` | `"log"` | no |

main.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ resource "aws_iam_account_alias" "alias" {
1414

1515
module "terraform_state_bucket" {
1616
source = "trussworks/s3-private-bucket/aws"
17-
version = "~> 4.3.0"
17+
version = "~> 7.1.0"
1818

1919
bucket = local.state_bucket
2020
logging_bucket = local.logging_bucket
2121

2222
use_account_alias_prefix = false
2323
bucket_key_enabled = var.bucket_key_enabled
2424
kms_master_key_id = var.kms_master_key_id
25-
sse_algorithm = var.kms_master_key_id != null ? "aws:kms" : null
2625

2726
enable_s3_public_access_block = var.enable_s3_public_access_block
2827
tags = var.state_bucket_tags
@@ -38,7 +37,7 @@ module "terraform_state_bucket" {
3837

3938
module "terraform_state_bucket_logs" {
4039
source = "trussworks/logs/aws"
41-
version = "~> 14.2.0"
40+
version = "~> 16.1.0"
4241

4342
s3_bucket_name = local.logging_bucket
4443
default_allow = false

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ variable "manage_account_alias" {
8383

8484
variable "kms_master_key_id" {
8585
type = string
86-
default = null
86+
default = ""
8787
description = "The AWS KMS master key ID used for the SSE-KMS encryption of the state bucket."
8888
}
8989

0 commit comments

Comments
 (0)