@ibm-cloud/cd-tools 1.15.14 → 1.15.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -223,7 +223,7 @@ export async function importTerraform(token, apiKey, region, toolchainId, toolch
|
|
|
223
223
|
// if parameters is now empty after removing null values, remove parameters entirely
|
|
224
224
|
try {
|
|
225
225
|
if (Object.keys(v[0]['parameters'][0]).length === 0) {
|
|
226
|
-
|
|
226
|
+
newTfFileObj['resource'][key][k]['parameters'] = [];
|
|
227
227
|
}
|
|
228
228
|
} catch {
|
|
229
229
|
// do nothing
|