diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml index 3f8fe62..b30901e 100644 --- a/.github/workflows/release-branch.yml +++ b/.github/workflows/release-branch.yml @@ -10,6 +10,7 @@ on: - 'docs/**' - 'examples/**' - 'test/**' + - 'README.*' permissions: contents: write diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml index f86352b..b31232b 100644 --- a/.github/workflows/release-published.yml +++ b/.github/workflows/release-published.yml @@ -11,4 +11,4 @@ permissions: jobs: terraform-module: - uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release.yml@main + uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release-published.yml@main diff --git a/README.md b/README.md index f5f0efb..2cfdaef 100644 --- a/README.md +++ b/README.md @@ -144,21 +144,21 @@ Available targets: | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 0.13.0 | -| [aws](#requirement\_aws) | >= 3.0 | +| [terraform](#requirement\_terraform) | >= 1.0 | +| [aws](#requirement\_aws) | >= 5.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 3.0 | +| [aws](#provider\_aws) | >= 5.0 | ## Modules | Name | Source | Version | |------|--------|---------| | [aws\_config\_label](#module\_aws\_config\_label) | cloudposse/label/null | 0.25.0 | -| [storage](#module\_storage) | cloudposse/s3-log-storage/aws | 0.26.0 | +| [storage](#module\_storage) | cloudposse/s3-log-storage/aws | 1.4.0 | | [this](#module\_this) | cloudposse/label/null | 0.25.0 | ## Resources diff --git a/docs/terraform.md b/docs/terraform.md index b9aef7d..15bb2f0 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -3,21 +3,21 @@ | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 0.13.0 | -| [aws](#requirement\_aws) | >= 3.0 | +| [terraform](#requirement\_terraform) | >= 1.0 | +| [aws](#requirement\_aws) | >= 5.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 3.0 | +| [aws](#provider\_aws) | >= 5.0 | ## Modules | Name | Source | Version | |------|--------|---------| | [aws\_config\_label](#module\_aws\_config\_label) | cloudposse/label/null | 0.25.0 | -| [storage](#module\_storage) | cloudposse/s3-log-storage/aws | 0.26.0 | +| [storage](#module\_storage) | cloudposse/s3-log-storage/aws | 1.4.0 | | [this](#module\_this) | cloudposse/label/null | 0.25.0 | ## Resources diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf index 5b2c49b..ddfcb0e 100644 --- a/examples/complete/versions.tf +++ b/examples/complete/versions.tf @@ -1,10 +1,10 @@ terraform { - required_version = ">= 0.13.0" + required_version = ">= 1.0" required_providers { aws = { source = "hashicorp/aws" - version = ">= 2.0" + version = ">= 5.0" } } } diff --git a/main.tf b/main.tf index 94b86d4..5535bc8 100644 --- a/main.tf +++ b/main.tf @@ -8,7 +8,7 @@ module "aws_config_label" { module "storage" { source = "cloudposse/s3-log-storage/aws" - version = "0.26.0" + version = "1.4.0" count = module.this.enabled ? 1 : 0 acl = "private" @@ -32,7 +32,7 @@ module "storage" { restrict_public_buckets = true access_log_bucket_name = var.access_log_bucket_name allow_ssl_requests_only = var.allow_ssl_requests_only - policy = join("", data.aws_iam_policy_document.aws_config_bucket_policy.*.json) + policy = join("", data.aws_iam_policy_document.aws_config_bucket_policy[*].json) bucket_notifications_enabled = var.bucket_notifications_enabled bucket_notifications_type = var.bucket_notifications_type diff --git a/outputs.tf b/outputs.tf index 1b8c038..75f6496 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,15 +1,15 @@ output "bucket_domain_name" { - value = join("", module.storage.*.bucket_domain_name) + value = join("", module.storage[*].bucket_domain_name) description = "FQDN of bucket" } output "bucket_id" { - value = join("", module.storage.*.bucket_id) + value = join("", module.storage[*].bucket_id) description = "Bucket Name (aka ID)" } output "bucket_arn" { - value = join("", module.storage.*.bucket_arn) + value = join("", module.storage[*].bucket_arn) description = "Bucket ARN" } @@ -24,6 +24,6 @@ output "enabled" { } output "bucket_notifications_sqs_queue_arn" { - value = join("", module.storage.*.bucket_notifications_sqs_queue_arn) + value = join("", module.storage[*].bucket_notifications_sqs_queue_arn) description = "Notifications SQS queue ARN" } diff --git a/versions.tf b/versions.tf index 85d1d00..ddfcb0e 100644 --- a/versions.tf +++ b/versions.tf @@ -1,10 +1,10 @@ terraform { - required_version = ">= 0.13.0" + required_version = ">= 1.0" required_providers { aws = { source = "hashicorp/aws" - version = ">= 3.0" + version = ">= 5.0" } } }