Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.74 KB

config_aggregate_authorization.html.markdown

File metadata and controls

52 lines (37 loc) · 1.74 KB
subcategory layout page_title description
Config
aws
AWS: aws_config_aggregate_authorization
Manages an AWS Config Aggregate Authorization.

Resource: aws_config_aggregate_authorization

Manages an AWS Config Aggregate Authorization

Example Usage

resource "aws_config_aggregate_authorization" "example" {
  account_id = "123456789012"
  region     = "eu-west-2"
}

Argument Reference

This resource supports the following arguments:

  • account_id - (Required) Account ID
  • region - (Required) Region
  • tags - (Optional) A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

  • arn - The ARN of the authorization
  • tags_all - A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Import

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