subcategory | layout | page_title | description |
---|---|---|---|
Config |
aws |
AWS: aws_config_aggregate_authorization |
Manages an AWS Config Aggregate Authorization. |
Manages an AWS Config Aggregate Authorization
resource "aws_config_aggregate_authorization" "example" {
account_id = "123456789012"
region = "eu-west-2"
}
This resource supports the following arguments:
account_id
- (Required) Account IDregion
- (Required) Regiontags
- (Optional) A map of tags to assign to the resource. If configured with a providerdefault_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
This resource exports the following attributes in addition to the arguments above:
arn
- The ARN of the authorizationtags_all
- A map of tags assigned to the resource, including those inherited from the providerdefault_tags
configuration block.
In Terraform v1.5.0 and later, use an import
block to import Config aggregate authorizations using account_id:region
. For example:
import {
to = aws_config_aggregate_authorization.example
id = "123456789012:us-east-1"
}
Using terraform import
, import Config aggregate authorizations using account_id:region
. For example:
% terraform import aws_config_aggregate_authorization.example 123456789012:us-east-1