Data Source: aws_organizations_policies

Terraform data source for managing an AWS Organizations Policies.

Example Usage

Basic Usage

data "aws_organizations_policies" "example" {
  filter = "SERVICE_CONTROL_POLICY"
}

data "aws_organizations_policy" "example" {
  for_each  = toset(data.aws_organizations_policies.example.ids)
  policy_id = each.value
}

Argument Reference

The following arguments are required:

Attribute Reference

This data source exports the following attributes in addition to the arguments above: