Provides an AWS Backup Region Settings resource.
resource "aws_backup_region_settings" "test" {
resource_type_opt_in_preference = {
"Aurora" = true
"DocumentDB" = true
"DynamoDB" = true
"EBS" = true
"EC2" = true
"EFS" = true
"FSx" = true
"Neptune" = true
"RDS" = true
"Storage Gateway" = true
"VirtualMachine" = true
}
resource_type_management_preference = {
"DynamoDB" = true
"EFS" = true
}
}
This resource supports the following arguments:
resource_type_opt_in_preference
- (Required) A map of services along with the opt-in preferences for the Region.resource_type_management_preference
- (Optional) A map of services along with the management preferences for the Region. For more information, see the AWS Documentation.This resource exports the following attributes in addition to the arguments above:
id
- The AWS region.In Terraform v1.5.0 and later, use an import
block to import Backup Region Settings using the region
. For example:
import {
to = aws_backup_region_settings.test
id = "us-west-2"
}
Using terraform import
, import Backup Region Settings using the region
. For example:
% terraform import aws_backup_region_settings.test us-west-2