Connect your AWS accounts to Draftt to govern your cloud infrastructure. Draftt uses a cross-account IAM role with read-only access, deployed via CloudFormation.Documentation Index
Fetch the complete documentation index at: https://docs.draftt.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- AWS account with permissions to create CloudFormation stacks and IAM roles
- Access to the Draftt dashboard (Integrations > AWS)
Setup Methods
Draftt supports three installation methods. CloudFormation is recommended for most setups.CloudFormation (Recommended)
CloudFormation (Recommended)
The fastest way to connect a single AWS account. Draftt provides a CloudFormation template that creates the required IAM role automatically.
Deploy the CloudFormation stack
Navigate to your AWS CloudFormation console.Press Next.
- Click Create Stack - With new resources (Standard)
- On the prerequisite section, choose Choose an existing template
- On the specify template section, choose Amazon S3 URL and provide the following link:
Configure stack parameters
- Stack name: We recommend something easy to identify, e.g.
DrafttStack - DrafttRoleName: Leave the default value
- ExternalId: Copy the value shown in the Draftt setup dialog and paste it here
Optional: CloudFormation behavior
Since we’re using AWS defaults, we recommend not making any changes in this step. Press Next.
Review and create
Review all previous settings. Acknowledge and approve the “I acknowledge that AWS CloudFormation might create IAM resources with custom names.” statement.Press Submit.
Manual Installation
Manual Installation
Create a custom inline policy
Create a new custom inline policy in the AWS IAM console.Switch to JSON Mode and copy the content from the following link:Click on Actions and then select Optimize for size. Click Next.
Create an IAM role with a custom trust policy
Navigate to Roles and click Create Role.On the Trusted entity type section, choose Custom trust policy and paste the following:Click Next.
Attach policies
Attach the following policies to the role:
SecurityAuditViewOnlyAccessDrafttReadOnlyPolicy(the policy you created in Step 2)
CloudFormation StackSet (Multi Account)
CloudFormation StackSet (Multi Account)
For organizations managing multiple AWS accounts, StackSets deploy the Draftt IAM role across all accounts in your AWS Organization simultaneously.
Create an organization-level IAM role
Navigate to Roles and click on Custom trust policy.Copy the following policy:Click Next. On the Add permissions section, choose:Review the permissions and click Create Role. Enter the Role ARN in Draftt.
AWSOrganizationsReadOnlyAccessAWSCloudFormationReadOnlyAccess
Create the CloudFormation StackSet
Navigate to your AWS CloudFormation Console.Click Create stack set. On the Specify template section, choose Service-managed permissions. Choose Amazon S3 URL and provide the following link:Press Next.
Configure StackSet parameters
Name the stack set. We recommend something easy to identify, e.g.
DrafttStackSet.Leave the default name for the DrafttRoleName parameter (default: DrafttAccess-Role).On the ExternalId parameter, enter the value provided in the Draftt setup dialog.Press Next.Optional: CloudFormation behavior
Since we’re using AWS defaults, we recommend not making any changes in this step. Press Next.
Set deployment options
Under the Set deployment options screen, choose Deploy new stacks.Specify regions. Since CloudFormation only creates a role in each account, there is no need to choose multiple regions. Choose only a single region based on your preference.Under Deployment options, we recommend increasing the Maximum concurrent accounts based on the number of accounts you are integrating.We recommend not making changes in the deployment options section. Press Next.
What Draftt Reads
Draftt’s IAM role is read-only. It cannot create, modify, or delete any resources in your AWS account. The CloudFormation template defines the exact permissions granted. You can review the template before deploying:Verifying Your Connection
After setup, return to Integrations > AWS in Draftt. Each connected account shows a status:- Healthy - All required access is in place. Draftt is collecting data as expected.
- Unhealthy - Something is wrong with the IAM role or permissions. Check that the CloudFormation stack completed successfully and the Role ARN is correct.