Resource: aws_config_retention_configuration

Provides a resource to manage the AWS Config retention configuration. The retention configuration defines the number of days that AWS Config stores historical information.

Example Usage

resource "aws_config_retention_configuration" "example" {
  retention_period_in_days = 90
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

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

Import

In Terraform v1.5.0 and later, use an import block to import the AWS Config retention configuration using the name. For example:

import {
  to = aws_config_retention_configuration.example
  id = "default"
}

Using terraform import, import the AWS Config retention configuration using the name. For example:

% terraform import aws_config_retention_configuration.example default