Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tflint failed code #22

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/secrets-manager-secret/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This module creates following resources.

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.52.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.55.0 |

## Modules

Expand Down
6 changes: 3 additions & 3 deletions modules/secrets-manager-secret/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ output "type" {
output "value" {
description = "The secret value in the current version of the secret with `AWSCURRENT` staging label."
value = try(coalesce(
one(aws_secretsmanager_secret_version.latest.*.secret_string),
one(aws_secretsmanager_secret_version.latest.*.secret_binary),
one(aws_secretsmanager_secret_version.latest[*].secret_string),
one(aws_secretsmanager_secret_version.latest[*].secret_binary),
), null)
}

Expand Down Expand Up @@ -64,7 +64,7 @@ output "rotation" {
description = "The configuration of the automatic rotation for the secret."
value = {
enabled = var.rotation_lambda_function != null
lambda_function = one(aws_secretsmanager_secret_rotation.this.*.rotation_lambda_arn)
lambda_function = one(aws_secretsmanager_secret_rotation.this[*].rotation_lambda_arn)
duration_in_days = var.rotation_duration_in_days
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/ssm-parameter-store-settings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This module creates following resources.

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.27.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.52.0 |

## Modules

Expand Down