File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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.
111114declare -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.
You can’t perform that action at this time.
0 commit comments