Skip to content

Commit

Permalink
Update example for manage delegated administrator
Browse files Browse the repository at this point in the history
  • Loading branch information
uyggnodoow committed Apr 29, 2023
1 parent f090a1e commit 6855020
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/DelegatedAdministrator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Usage

To run this example you need to execute:

```bash
$ terraform init
$ terraform plan
$ terraform apply
```
11 changes: 11 additions & 0 deletions examples/DelegatedAdministrator/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
provider "aws" {
region = "ap-northeast-2"
}


module "delegated_administrator" {
source = "../../modules/delegated_administrator//"

account_id = ""
service_principal = "cloudtrail.amazonaws.com"
}
Empty file.
Empty file.
10 changes: 10 additions & 0 deletions examples/DelegatedAdministrator/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
terraform {
required_version = ">= 1.4.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.65.0"
}
}
}

0 comments on commit 6855020

Please sign in to comment.