File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,16 @@ function set_env_variables()
8383 echo " Setting env variables for ${type} "
8484 export BUCKET_NAME_US_WEST_1=" cf-templates-1qpf3unpuo1hw-us-west-1"
8585 export COLLECTOR_ID=" <COLLECTOR_ID>"
86+ elif [[ " ${type} " = * " kinesisfirehoseformetrics" * ]]; then
87+ echo " Setting env variables for ${type} "
88+ export BUCKET_NAME_US_WEST_1=" cf-templates-1qpf3unpuo1hw-us-west-1"
89+ export BUCKET_NAME_AP_SOUTH_1=" cf-templates-1qpf3unpuo1hw-ap-south-1"
90+ export IAM_ROLE=" arn:aws:iam::<AWS_ACCOUNT_ID>:role/TestingTerraformCloudTrailRole"
91+ export COLLECTOR_ID=" <COLLECTOR_ID>"
92+ elif [[ " ${type} " = * " rootcause" * ]]; then
93+ echo " Setting env variables for ${type} "
94+ export IAM_ROLE=" arn:aws:iam::<AWS_ACCOUNT_ID>:role/TestingTerraformCloudTrailRole"
95+ export COLLECTOR_ID=" <COLLECTOR_ID>"
8696 else
8797 echo " No Matching Module found to set up env variables."
8898 fi
@@ -99,7 +109,7 @@ export AWS_PROFILE=
99109
100110# 2. Deccalring the modules. Please update the array, if some new modules are added.
101111declare -a modules=(
102- " aws/cloudtrail" " aws/elb" " aws/cloudwatchmetrics" " aws/kinesisfirehoseforlogs" " sumologic"
112+ " aws/cloudtrail" " aws/elb" " aws/cloudwatchmetrics" " aws/kinesisfirehoseforlogs" " aws/kinesisfirehoseformetrics " " aws/rootcause " " sumologic"
103113)
104114
105115# 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