File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ func (scManager *serviceCatalogManager) TerminateProvisionedProducts(productID s
177
177
continue
178
178
}
179
179
180
- log .Infof (" Deleting provisionedProduct '%s'" , provisionedProduct .Id )
180
+ log .Infof (" Deleting provisionedProduct '%s'" , aws . StringValue ( provisionedProduct .Id ) )
181
181
stackID := aws .StringValue (provisionedProduct .PhysicalId )
182
182
183
183
_ , err = scManager .scAPI .TerminateProvisionedProduct (& servicecatalog.TerminateProvisionedProductInput {
@@ -188,6 +188,8 @@ func (scManager *serviceCatalogManager) TerminateProvisionedProducts(productID s
188
188
return false
189
189
}
190
190
191
+ time .Sleep (time .Second * 5 )
192
+
191
193
log .Infof (" Deleting stack '%s'" , stackID )
192
194
scManager .stackManager .AwaitFinalStatus (strings .Split (stackID , "/" )[1 ])
193
195
}
You can’t perform that action at this time.
0 commit comments