Let’s Get Certified
Module 02 / 09 · Infrastructure as code

Describe a change before making it

Use a configuration, plan and review record to explain why an infrastructure change should happen.

Describe a change before making it

In a declarative configuration, name the objects and describe their desired properties. Terraform reads existing objects through providers, connects them to configuration through state and proposes operations to reconcile the differences. A plan depends on its inputs and the objects observed at planning time. Save the reviewed plan if release policy calls for applying that exact proposal.

Version control gives a team a history of intended changes. Reviewers can see the same configuration, inspect a proposed deletion and ask why it is necessary. A provider translates resource types into operations for a particular service. The workflow can be shared across clouds or on premises, while resource types, capabilities and credentials remain specific to each API.

Worked case 1

Production has six replicas while the repository specifies four. Which number should the team change?

Check your reasoning

First learn whether the increase was an approved emergency change. If six is now desired, update configuration and review a new plan. If four remains correct, review the impact of reconciliation before applying.

Worked case 2

A teammate committed configuration for one cloud and expects to deploy the same resource blocks against another cloud by changing a credential. What assumption should be checked?

Check your reasoning

The shared workflow works across providers. Each provider has its own resource types and arguments. Model the intended service with the target provider and review the plan for the new environment.

HashiCorp objective references: 1a–1c.

How Terraform works · Official Terraform 004 objectives for this domain

Introduction to Terraform with HashiCorp co-founder Armon Dadgar

Related lesson in Azure Administrator Associate. Read and preview a Bicep deployment.

Practice with the recording

A teammate changes a staging setting in the console and opens a pull request describing the new value. When is that change reproducible?

Check your reasoning

Record the intended value in configuration and generate a plan against the correct workspace. A console change supplies observed state. The reviewed configuration determines what another environment will create on its next run.

sthithapragna · Terraform Associate 004 full course · 7:03

Practice the individual exam skills
  • 1a–1c Describe a change that provisions a cloud network and a DNS entry managed by a different service. Explain what reviewers can reproduce from configuration and why each provider still needs its own API permissions.
Knowledge check

Describe a change before making it quiz

Answer 3 questions. Check each answer for an explanation.