Skip to content

Commit

Permalink
add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
drobinson-moj committed Nov 29, 2023
1 parent 3912d20 commit 8a24191
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ module "ec2_test_autoscaling_group" {
ebs_volumes_copy_all_from_ami = try(each.value.ebs_volumes_copy_all_from_ami, true)
ebs_volume_config = lookup(each.value, "ebs_volume_config", {})
ebs_volumes = lookup(each.value, "ebs_volumes", {})
secretsmanager_secrets_prefix = lookup(each.value, "secretsmanager_secrets_prefix", "test/")
secretsmanager_secrets = lookup(each.value, "secretsmanager_secrets", null)
ssm_parameters_prefix = lookup(each.value, "ssm_parameters_prefix", "test/")
ssm_parameters = lookup(each.value, "ssm_parameters", null)
autoscaling_group = merge(local.ec2_test.autoscaling_group, lookup(each.value, "autoscaling_group", {}))
Expand Down

0 comments on commit 8a24191

Please sign in to comment.