Skip to content

Commit

Permalink
Merge pull request #19 from volterraedge/fix_tf_action
Browse files Browse the repository at this point in the history
enabling waiting of terraform actions to complete during destroy
  • Loading branch information
Madhukar Nayakbomman authored Feb 2, 2021
2 parents 14e2776 + 9245210 commit ae0c75e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions volterra/resource_volterra_tf_params_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ func resourceVolterraTFParamsRunActionDelete(d *schema.ResourceData, meta interf
if v, ok := d.GetOk("site_kind"); ok {
actionParams.siteKind = v.(string)
}
if v, ok := d.GetOk("wait_for_action"); ok {
actionParams.waitForAction = v.(bool)
}

actionVal, ok := ves_io_schema_tf_params.RunAction_value["DESTROY"]
if !ok {
Expand Down

0 comments on commit ae0c75e

Please sign in to comment.