Quiz 6 Question 10 of 20

An engineer wants an application instance to be replaced whenever the input variable app_version changes. They added replace_triggered_by = [var.app_version] to the instance's lifecycle block, and Terraform rejects it. Which change achieves the goal?

Select an answer to reveal the explanation.

Motivation