問題文
An operator changed a tag on a resource by hand, and the team decides the hand-made value should win from now on. Which approach expresses that?
選択肢
- Run the state removal command for that single resource and import it again, which records the current values as the desired state.
- Add the lifecycle argument that ignores changes for that argument, so Terraform stops proposing to revert it.
- Remove the tag argument from the resource block, since an argument that is not declared is left to the provider and the hand-made value therefore persists.
- Run apply in refresh-only mode, which records the hand-made value and therefore makes it the value Terraform will keep.