Detailed Explanation:
Rationale for Correct Answer: Infrastructure as Code best practice is to make infrastructure changes through version-controlled configuration. With HCP Terraform, a common and recommended workflow is to modify Terraform code in a branch, submit a pull request, review and approve the change, merge it, and let HCP Terraform execute the run based on that VCS-driven workflow. This preserves review history, auditability, collaboration, and consistency.
Analysis of Incorrect Options (Distractors):
A. Clone the repository containing your infrastructure code, and then run the code. Incorrect. Running locally can bypass centralized HCP Terraform workflow controls, policy checks, approvals, and audit trails.
B. Use the public cloud console to make the change. Incorrect. Console changes create configuration drift and bypass Terraform state and version control.
C. Make the change through the public cloud API endpoint. Incorrect. Direct API changes bypass Terraform and can cause drift.
D. Run the public cloud CLI tool to make the change. Incorrect. Cloud CLI changes are imperative changes outside Terraform’s managed workflow.
Key Concept: Infrastructure changes should be made through version-controlled Terraform configuration and reviewed before being applied.
[Reference: Terraform Objective Domain: Understand Infrastructure as Code (IaC) Concepts, ====================, ]