Forttic ResOps Operate ResOps 9 min read

Your Backup Terraform Can Be Valid and Still Miss the Recovery Requirement

Generating a backup policy is easier than deciding which policy the service needs. Environment context makes the change reviewable; post-change evidence shows what it achieved.

A code card beside a database on a green ring, with a yellow question card. Valid code still needs its recovery context.

The prompt leaves out most of the decision

“Write Terraform to back up this RDS database.”

An AI assistant can produce a plausible starting point. It might define a backup plan, a schedule, retention and a target. But the request leaves the most important choices unresolved.

What recovery objective applies to this service? Is another platform already protecting it? Does the proposed destination provide the intended separation? Which identities and encryption keys are needed to use the copy? What policy exception or maintenance window should affect the change?

The code may express exactly what the prompt requested while missing what the organization actually needs.

That is the distinction Forttic’s context-aware workflow is intended to address. The starting point is the service and its requirements. Code is one possible output of the decision. This article describes a workflow Forttic is working on. Confirm current availability, supported resources and output formats before planning a deployment around it.

Three checks answer three different questions

Teams should distinguish whether a configuration is valid, whether the proposed infrastructure change is appropriate and whether the resulting protection meets the requirement.

Check Question it answers What it does not establish
Configuration validation Is the configuration structurally valid for the relevant tooling? That the chosen protection design satisfies the service requirement
Execution-plan review What changes does Terraform propose in the target environment? That a completed change will produce a usable recovery outcome
Post-change verification What protection state and relevant test evidence exist after execution? Claims beyond the scope of the checks performed

HashiCorp documents terraform plan as a preview of proposed changes rather than an execution step. Its guidance also notes that intervening changes can affect an earlier speculative plan, so the final plan needs review.

These checks are complementary. A reliable workflow gives each one an explicit purpose and retains evidence of the decision it supports.

Collect the context before choosing the change

For a critical RDS workload, the decision input should describe more than its resource identifier.

Service requirements. Identify the owner, criticality, recovery objectives, retention obligations and relevant approved exceptions. Missing requirements should be raised as unresolved inputs rather than replaced with arbitrary defaults.

Existing protection. Identify the protection systems, observed recovery points, configured schedules, replication relationships and available test evidence. Mark incomplete visibility explicitly. Not finding another copy is different from establishing that none exists.

Recovery dependencies. Record the relevant accounts, Regions, administrative access, encryption keys and network conditions. A destination in a different location does not by itself establish the independence needed for every incident scenario. Review the recovery topology before treating a separate Region as an independent path. Directory-backed access to the recovery tools is part of that same map; an Active Directory change can alter who can use a copy that still exists.

Operational constraints. Include change windows, provider and service compatibility, policy ownership, existing infrastructure-as-code management and any limits that could prevent the intended operation.

Economics. Compare incremental storage, copying, transfer and testing assumptions. Estimate ranges where inputs are incomplete. An apparent saving is not established until its assumptions and actual behavior are checked.

This context should make the proposed action easier to challenge. A reviewer needs to see why a parameter was chosen and which unknowns could change it.

Replication changes the analysis, not automatically the answer

AWS documents RDS read replicas as asynchronous copies that can support read scaling and certain disaster recovery scenarios. That makes them relevant to a protection review, but their existence does not settle every recovery question.

Because changes propagate to a replica, a logical destructive change may propagate too. That is a failure-mode consideration derived from replication behavior; it is not a claim that every cyberattack affects every replica in the same way.

The team must still decide whether the scenario requires a historical recovery point, different access controls or another protection mechanism. Engine, service and configuration details matter.

A context-aware proposal should distinguish the roles played by availability replicas, retained recovery points and isolated copies. Treating each as an interchangeable entry in a copy count can produce a configuration that looks complete while leaving the important scenario unanswered.

A worked example: the fix may already be available

Consider a hypothetical customer-facing database. A review finds that its current evidence does not establish the required historical recovery window. A cross-Region read replica exists, and the organization also uses an enterprise backup platform.

A generic generation request might immediately add a new cloud-native backup plan. A context-led review asks whether the existing platform already has a suitable capability, whether the workload is included and whether the apparent gap is in configuration, execution or visibility. Diagnose that gap before adding another tool.

There are several possible outcomes:

  • An existing policy meets the requirement, but its evidence has not been collected. Resolve the visibility gap before adding duplicate protection.
  • The existing platform supports the requirement, but the workload is excluded. Prepare a scoped configuration change for the team that owns that system.
  • The current arrangement genuinely lacks a required capability. Compare supported alternatives, including their operating and cost implications.
  • The service requirement is unclear. Obtain the owner’s decision before generating a supposedly definitive policy.

Only some of these outcomes require Terraform. If another system owns the configuration, the appropriate output may be a change brief or a vendor-specific workflow instead.

This is how Forttic can work with backup vendors: make better use of the protection already present, and explain the remaining gap before recommending additional tooling.

What a useful generated change should contain

The output should be a reviewable change package, not an isolated code block.

Include the observed problem, the intended requirement, the affected resources and the evidence used to select the change. Record assumptions, missing inputs and the time at which the context was observed.

Then provide the configuration proposal together with expected effects, cost assumptions, required permissions and verification criteria. Where resources are already managed, respect the existing state and ownership model instead of introducing a second configuration owner.

For example, a proposal might say that the intended result is a recovery point meeting a defined age limit in an approved destination. Its acceptance criteria should then specify how the team will observe that point and validate the required access. A plan assignment alone would not satisfy that claim.

Vendor documentation is another input, not an automatic answer. Version, resource type, licensing and deployment configuration may determine whether a documented capability applies. Record those assumptions alongside the recommendation.

Keep production execution under customer control

The workflow discussed for Forttic keeps the production execution boundary explicit. Forttic is working on using resilience context to help prepare changes; the customer’s authorized team reviews and executes them through its own process.

That may involve a pull request, final plan review, policy checks and an approved deployment pipeline. A dedicated test account, where available, has separate permissions and an agreed validation scope.

This distinction matters to both engineering and governance. Generating code is not permission to execute it. Sending a recommendation is not evidence that someone accepted it. An approved proposal is not evidence that the resulting state exists. The same boundary applies to any automated backup change: define where execution is already authorized before a system acts.

The decision record should preserve those transitions so a reviewer can tell exactly where the work stands.

Return to the environment after execution

After the customer applies a change, ask what is now observable.

Is the intended resource in scope? Is the approved policy attached? Has the expected operation completed? Does the resulting recovery point have the required properties? Which claims need a restore or application-level test rather than a configuration inspection?

Those questions prevent a successful deployment from being mistaken for complete recovery assurance.

A change may improve future protection while leaving an earlier exposure unresolved. Record that residual gap. Similarly, if execution is partial or evidence is unavailable, keep the result open or qualified instead of inferring success from the submitted code.

Forttic’s wider CRE positioning connects discovery, assessment, enforcement, verification and reporting. In this customer-executed workflow, the loop is completed by tying the proposed change to observed results and appropriately scoped evidence.

The useful outcome is a defensible answer to “What requirement does this service now meet?”

Bring one critical workload and its current protection design to a Forttic briefing. Identify the missing context, compare the options in your existing stack and define what evidence would establish the result.

Valid code is not a closed requirement

A plan can be structurally correct and still miss the recovery outcome. Return to what the environment shows after the customer applies the change.

Frequently asked questions

Why can valid Terraform still produce inadequate backup protection?

Validity concerns the configuration’s structure and tooling requirements. Protection adequacy depends on the service objective, existing copies, access, retention and relevant recovery evidence. Those requirements must inform the configuration.

Does Forttic execute the generated Terraform in production?

The workflow described here leaves production execution with the customer’s authorized team and change process. Forttic helps inform the decision and prepare the proposed change, then evaluates available post-change evidence.

Is Forttic’s context-aware Terraform workflow generally available?

This article describes a workflow Forttic is working on. Confirm current availability, supported resources and output formats with the team before planning a deployment around it.

Does every backup gap require a new tool or Terraform change?

No. The gap may be incomplete evidence, an existing policy’s scope or a configuration owned by another platform. Establish the cause before selecting the output or buying another product.

What proves that a generated change solved the problem?

Evidence must match the intended requirement. A configuration check can establish a setting; an observed recovery point can establish its existence and age; a relevant restore test can support a recovery claim within its tested conditions.

Terraform backup configuration RDS backup policy Backup configuration validation Resilience context Operate ResOps

Bring one workload and its protection design to a briefing

Identify the missing context, compare the options in your existing stack and define what evidence would establish the result.