Your costs = usage. Period.

Terraform requires a state file to keep track of managed infrastructure and configuration. Effective management of this state file, including its security, availability, and versioning, is important for Terraform operations. Scalr provides features for Terraform state management.
Scalr offers a managed backend for Terraform state, which includes security and versioning. It also allows integration with other storage solutions. This document outlines Scalr's capabilities for handling Terraform state.
Scalr provides a managed state storage solution with the following characteristics:
To prevent corruption and conflicts from concurrent operations on the same Terraform state, Scalr implements automatic state locking when its managed backend is used.
plan
or apply
) starts in a Scalr workspace, Scalr locks the state file.This locking mechanism is a built-in feature of the Scalr backend.
Scalr allows users to employ other backends supported by Terraform if the Scalr-managed backend is not preferred.
terraform import
SupportScalr supports the terraform import
command. This function allows users to bring existing infrastructure, not initially created by Terraform, under Terraform management. The state of these imported resources can be stored in Scalr's managed backend or a configured external backend. The state is accessible for inspection and management.
Scalr offers the option to store state in a customer-owned storage bucket while still utilizing the Scalr backend's management features.
This approach provides:
This option can be used to meet specific compliance, data sovereignty, or data governance requirements.
Terraform state data managed by Scalr can be accessed or exported through several methods:
terraform state pull
command can be used to retrieve the current state file to a local machine.Scalr provides a set of features for managing Terraform state. These include a secure, versioned, and locked managed backend, along with the option to use external backends or store state in customer-owned buckets. These capabilities are designed to support various operational requirements for infrastructure as code management.