How can you change ...
 
Notifications
Clear all

How can you change this default behavior within a provisioner?

1 Posts
1 Users
0 Likes
159 Views
(@mcgruenathaniel)
Posts: 732
Noble Member
Topic starter
 

By default, provisioners that fail will also cause the Terraform apply itself to error.

How can you change this default behavior within a provisioner?

  • A . provisioner "local-exec" { on_failure = "next" }
    B. provisioner "local-exec" { when = "failure" terraform apply }
    C. provisioner "local-exec" { on_failure = "continue" }
    D. provisioner "local-exec" { on_failure = continue }

Show Answer Hide Answer

 
Posted : 31/10/2022 9:30 pm

Latest TA-002-P V1 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: