Skip to content

Commit 30446df

Browse files
author
sourabh
committed
adding logfrowarder
1 parent dfb98e6 commit 30446df

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

terratest/run_tests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ function set_env_variables()
9393
echo "Setting env variables for ${type}"
9494
export IAM_ROLE="arn:aws:iam::<AWS_ACCOUNT_ID>:role/TestingTerraformCloudTrailRole"
9595
export COLLECTOR_ID="<COLLECTOR_ID>"
96+
elif [[ "${type}" = *"cloudwatchlogsforwarder"* ]];then
97+
echo "Setting env variables for ${type}"
98+
export COLLECTOR_ID="<COLLECTOR_ID>"
9699
else
97100
echo "No Matching Module found to set up env variables."
98101
fi
@@ -109,7 +112,7 @@ export AWS_PROFILE=
109112

110113
# 2. Deccalring the modules. Please update the array, if some new modules are added.
111114
declare -a modules=(
112-
"aws/cloudtrail" "aws/elb" "aws/cloudwatchmetrics" "aws/kinesisfirehoseforlogs" "aws/kinesisfirehoseformetrics" "aws/rootcause" "sumologic"
115+
"aws/cloudtrail" "aws/elb" "aws/cloudwatchmetrics" "aws/kinesisfirehoseforlogs" "aws/kinesisfirehoseformetrics" "aws/rootcause" "aws/cloudwatchlogsforwarder" "sumologic"
113116
)
114117

115118
# 3. Iterating through the module array to run unit and integration test cases.

0 commit comments

Comments
 (0)