A terraform module to create the handshake role needed by macie and then to setup the account as a member of your macie master
You can find example implementations of this module in the tests folder. This module
requires 2 different AWS accounts to test and so the terraform aws provider definitions
are assuming that you will be using a profile with the name member
and master
.
Name | Version |
---|---|
terraform | >= 0.12 |
Name | Version |
---|---|
aws | n/a |
aws.master | n/a |
Name | Type |
---|---|
aws_caller_identity.master | data source |
aws_caller_identity.this | data source |
aws_iam_policy_document.this | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
create_macie_member | Controls whether to create the Macie member | bool |
true |
no |
tags | Map of tags to apply to the resources | map(string) |
{} |
no |
No outputs.