AWS Backup Region Settings

This page shows how to write Terraform for AWS Backup Region Settings and write them securely.

aws_backup_region_settings (Terraform)

The Region Settings in AWS Backup can be configured in Terraform with the resource name aws_backup_region_settings. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

backup_region_settings.tf#L4
resource "aws_backup_region_settings" "backup_region_settings" {
  count = var.enable_backup_region_settings ? 1 : 0

  resource_type_opt_in_preference = var.backup_region_settings_resource_type_opt_in_preference

  lifecycle {
backup_region_settings.tf#L4
resource "aws_backup_region_settings" "backup_region_settings" {
  count = var.enable_backup_region_settings ? 1 : 0

  resource_type_opt_in_preference = var.backup_region_settings_resource_type_opt_in_preference

  lifecycle {

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Provides an AWS Backup Region Settings resource.

CloudFormation Example

CloudFormation code does not have the related resource.

Frequently asked questions

What is AWS Backup Region Settings?

AWS Backup Region Settings is a resource for Backup of Amazon Web Service. Settings can be wrote in Terraform.

Where can I find the example code for the AWS Backup Region Settings?

For Terraform, the asrkata/SebastianUA-terraform and SebastianUA/terraform source code examples are useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.