Skip to content

Commit

Permalink
d/aws_auditmanager_control: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jar-b committed Jan 18, 2023
1 parent 1b76926 commit 37a1e71
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions website/docs/d/auditmanager_control.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
subcategory: "Audit Manager"
layout: "aws"
page_title: "AWS: aws_auditmanager_control"
description: |-
Terraform data source for managing an AWS Audit Manager Control.
---

# Data Source: aws_auditmanager_control

Terraform data source for managing an AWS Audit Manager Control.

## Example Usage

### Basic Usage

```terraform
data "aws_auditmanager_control" "example" {
name = "1. Risk Management"
type = "Standard"
}
```

### With Framework Resource

```terraform
data "aws_auditmanager_control" "example" {
name = "1. Risk Management"
type = "Standard"
}
data "aws_auditmanager_control" "example2" {
name = "2. Personnel"
type = "Standard"
}
resource "aws_auditmanager_framework" "example" {
name = "example"
control_sets {
name = "example"
controls {
id = data.aws_auditmanager_control.example.id
}
}
control_sets {
name = "example2"
controls {
id = data.aws_auditmanager_control.example2.id
}
}
}
```

## Argument Reference

The following arguments are required:

* `name` - (Required) Name of the control.
* `type` - (Required) Type of control. Valid values are `Custom` and `Standard`.

## Attributes Reference

See the [`aws_auditmanager_control` resource](/docs/providers/aws/r/auditmanager_control.html) for details on the returned attributes - they are identical.

0 comments on commit 37a1e71

Please sign in to comment.