Provides an AWS Backup Global Settings resource.
resource "aws_backup_global_settings" "test" {
global_settings = {
"isCrossAccountBackupEnabled" = "true"
}
}
This resource supports the following arguments:
global_settings
- (Required) A list of resources along with the opt-in preferences for the account.This resource exports the following attributes in addition to the arguments above:
id
- The AWS Account ID.In Terraform v1.5.0 and later, use an import
block to import Backup Global Settings using the id
. For example:
import {
to = aws_backup_global_settings.example
id = "123456789012"
}
Using terraform import
, import Backup Global Settings using the id
. For example:
% terraform import aws_backup_global_settings.example 123456789012