Skip to content

Commit

Permalink
Add test fort SSM tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-griffin committed Feb 27, 2025
1 parent 17421b8 commit df743fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vpc/tests/unit.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ run "aws_vpc_unit_test" {
}

# aws_ssm_parameter.combined_nat_gateway_eips.value cannot be tested on a plan

assert {
condition = lookup(aws_ssm_parameter.combined_nat_gateway_eips.tags, "copilot-application", "") == "__all__"
error_message = "Tag 'copilot-application' should be set to '__all__'"
}

}

run "aws_security_group_unit_test" {
Expand Down

0 comments on commit df743fc

Please sign in to comment.