File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 42
42
cd "./${{ matrix.terraform_module_parent }}"
43
43
for d in */; do
44
44
cd "$d"
45
+ if [ "${{ matrix.terraform_module_parent }}" == "ibmcloud_powervs" ]
46
+ then
47
+ echo 'provider "ibm" {' > temp_provider.tf
48
+ echo ' alias = "main"' > temp_provider.tf
49
+ echo ' ibmcloud_api_key = "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"' > temp_provider.tf
50
+ echo ' region = "eu-es"' > temp_provider.tf
51
+ echo '}' > temp_provider.tf
52
+ echo 'provider "ibm" {' > temp_provider.tf
53
+ echo ' alias = "powervs_secure_enclave"' > temp_provider.tf
54
+ echo ' ibmcloud_api_key = "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"' > temp_provider.tf
55
+ echo ' region = "mad"' > temp_provider.tf
56
+ echo ' zone = "mad04"' > temp_provider.tf
57
+ echo '}' > temp_provider.tf
58
+ fi
45
59
terraform validate -no-color
46
60
cd ..
47
61
done
You can’t perform that action at this time.
0 commit comments