Skip to content

Commit

Permalink
ci: add more integration test cases
Browse files Browse the repository at this point in the history
Uncovered an error on one of test cases! It works!

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
  • Loading branch information
afiune committed Aug 31, 2020
1 parent c375733 commit 4a72a50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module "main_cloudtrail" {
resource "lacework_integration_aws_ct" "main" {
provider = lacework.main
name = "TF consolidated"
queue_url = aws_sqs_queue.lacework_ct_sqs_sub_accounts.0.id
queue_url = aws_sqs_queue.lw_ct_sqs_sub_accounts.0.id
credentials {
role_arn = module.main_cloudtrail.iam_role_arn
external_id = module.main_cloudtrail.external_id
Expand Down
7 changes: 7 additions & 0 deletions scripts/ci_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ MODULES=(
TEST_CASES=(
aws/modules/iam_role/examples/default-config
aws/modules/iam_role/examples/custom-config
aws/modules/config/examples/custom-config
aws/modules/config/examples/default-config
aws/modules/cloudtrail/examples/complete-cloudtrail
aws/modules/cloudtrail/examples/consolidated-cloudtrail-multiple-lacework-tenants
aws/modules/cloudtrail/examples/consolidated-cloudtrail
aws/modules/cloudtrail/examples/existing-cloudtrail-iam-role
aws/modules/cloudtrail/examples/existing-cloudtrail
)

log() {
Expand Down

0 comments on commit 4a72a50

Please sign in to comment.