Skip to content

Commit

Permalink
Fix test indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-griffin committed Jan 21, 2025
1 parent 6323922 commit 5b28002
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions codebase-pipelines/tests/unit.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -777,11 +777,13 @@ run "test_iam_documents" {
])
error_message = "Unexpected actions"
}
}

assert {
condition = one(data.aws_iam_policy_document.deploy_ssm_access.statement[0].resources) == "arn:aws:ssm:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:parameter/codebuild/slack_*"
condition = one(data.aws_iam_policy_document.deploy_ssm_access.statement[0].resources) == "arn:aws:ssm:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:parameter/codebuild/slack_*"
error_message = "Unexpected resources"
}
}


run "test_codebuild_deploy" {
command = plan
Expand Down

0 comments on commit 5b28002

Please sign in to comment.