Resource: aws_organizations_delegated_administrator

Provides a resource to manage an AWS Organizations Delegated Administrator.

Example Usage

resource "aws_organizations_delegated_administrator" "example" {
  account_id        = "123456789012"
  service_principal = "principal"
}

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 aws_organizations_delegated_administrator using the account ID and its service principal. For example:

import {
  to = aws_organizations_delegated_administrator.example
  id = "123456789012/config.amazonaws.com"
}

Using terraform import, import aws_organizations_delegated_administrator using the account ID and its service principal. For example:

% terraform import aws_organizations_delegated_administrator.example 123456789012/config.amazonaws.com