Skip to content

Commit c9a4ae3

Browse files
committed
CCM-9689: Fix lambda descriptions for variables and outputs
1 parent 4f7aaf9 commit c9a4ae3

14 files changed

Lines changed: 40 additions & 40 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
output "name" {
22
description = "Name of the Amplify branch"
3-
value = aws_amplify_branch.main.branch_name
3+
value = aws_amplify_branch.main.branch_name
44
}

infrastructure/modules/amp_branch/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ variable "branch" {
6868
variable "display_name" {
6969
description = "The display name of the branch app being deployed"
7070
type = string
71-
default = null
71+
default = null
7272
}
7373

7474
variable "enable_auto_build" {

infrastructure/modules/aws-backup-source/backup_plan_dynamodb.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
resource "aws_backup_plan" "dynamodb" {
33
count = var.backup_plan_config_dynamodb.enable ? 1 : 0
44

5-
name = "${local.csi}-dynamodb"
5+
name = "${local.csi}-dynamodb"
66

77
dynamic "rule" {
88
for_each = var.backup_plan_config_dynamodb.rules

infrastructure/modules/aws-backup-source/backup_report_plan_copy_jobs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_backup_report_plan" "copy_jobs" {
2-
count = var.backup_copy_vault_arn != "" && var.backup_copy_vault_account_id != "" ? 1 : 0
2+
count = var.backup_copy_vault_arn != "" && var.backup_copy_vault_account_id != "" ? 1 : 0
33

44
name = "${local.csi_underscore}_copy_jobs"
55
description = "Report for showing whether copies ran successfully in the last 24 hours"

infrastructure/modules/aws-backup-source/backup_report_plan_resource_compliance.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resource "aws_backup_report_plan" "resource_compliance" {
33
description = "Report for showing whether resources are compliant with the framework"
44

55
report_delivery_channel {
6-
formats = ["JSON"]
6+
formats = ["JSON"]
77
s3_bucket_name = var.reports_bucket
88
s3_key_prefix = "resource_compliance"
99
}
@@ -19,6 +19,6 @@ resource "aws_backup_report_plan" "resource_compliance" {
1919
var.backup_plan_config_s3.enable ? [aws_backup_framework.s3[0].arn] : []
2020
))
2121

22-
report_template = "RESOURCE_COMPLIANCE_REPORT"
22+
report_template = "RESOURCE_COMPLIANCE_REPORT"
2323
}
2424
}

infrastructure/modules/aws-backup-source/iam_role_backup.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_iam_role" "backup" {
2-
name = "${local.csi}"
2+
name = local.csi
33
assume_role_policy = data.aws_iam_policy_document.assume_role.json
44
}
55

infrastructure/modules/aws-backup-source/locals.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ locals {
99
var.name
1010
)
1111

12-
csi_underscore = replace(local.csi,"-","_")
12+
csi_underscore = replace(local.csi, "-", "_")
1313

1414
default_tags = merge(
1515
var.default_tags,
1616
{
17-
Name = local.csi
17+
Name = local.csi
1818
Module = local.module
1919
},
2020
)

infrastructure/modules/eventpub/archive_file_lambda.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
resource "archive_file" "lambda" {
2-
type = "zip"
3-
source_dir = "${path.module}/lambda/eventpub/src"
2+
type = "zip"
3+
source_dir = "${path.module}/lambda/eventpub/src"
44

55
# Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39
66
output_path = "${path.module}/lambda/eventpub_${timestamp()}.zip"

infrastructure/modules/eventpub/iam_role_lambda.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ data "aws_iam_policy_document" "lambda" {
6767
]
6868
}
6969

70-
statement {
70+
statement {
7171
sid = "DLQPutMessage"
7272
effect = "Allow"
7373

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
output "key_arn" {
22
description = "ARN of the KMS key"
3-
value = aws_kms_key.main.arn
3+
value = aws_kms_key.main.arn
44
}
55

66
output "key_id" {
77
description = "ID of the KMS key"
8-
value = aws_kms_key.main.key_id
8+
value = aws_kms_key.main.key_id
99
}
1010

1111
output "admin_policy_arn" {
1212
description = "ARN of the admin IAM policy"
13-
value = aws_iam_policy.admin.arn
13+
value = aws_iam_policy.admin.arn
1414
}
1515

1616
output "user_policy_arn" {
1717
description = "ARN of the user IAM policy"
18-
value = aws_iam_policy.user.arn
18+
value = aws_iam_policy.user.arn
1919
}

0 commit comments

Comments
 (0)