def after_script():
 destroy_cmd = ['terraform', 'destroy', '-force']
 logging.info('Destroying cloud provider resources')
 sys.exit(run_cmd(destroy_cmd))

def after_script ( ) : destroy_cmd = [ 'terraform' , 'destroy' , '-force' ] logging . info ( 'Destroying cloud provider resources' ) sys . exit ( run_cmd ( destroy_cmd ) )
cleanup after ci_build .