This repository contains Terraform configurations to set up AWS integration for Deductive AI.
- Ubuntu/Debian/Fedora or macOS
- External ID provided by Deductive AI
- Tenant identifier for your organization
-
Clone this repository
git clone https://github.com/deductive-ai/aws-setup.git cd aws-setup
** One time setup for the environment setup for this repo:
make setup-env
make setup-git-hooks
-
Initialize and apply the configuration
terraform init terraform plan \ -var="tenant=<your-tenant-id>" \ -var="external_id=<external-id-from-deductive>" \ -var="region=<aws-region>" \ -var="aws_profile=<your-aws-profile>"
Note: Review the plan output above. If everything looks correct, proceed with the apply command.
terraform apply \ -var="tenant=<your-tenant-id>" \ -var="external_id=<external-id-from-deductive>" \ -var="region=<aws-region>" \ -var="aws_profile=<your-aws-profile>"
-
Share the output with Deductive AI
After successful deployment, you'll receive output similar to:
Apply complete! Resources: 2 added, 0 changed, 0 destroyed. Outputs: share_with_deductive = { "aws_region" = "us-west-1" "deductive_role_arn" = "arn:aws:iam::123456789012:role/DeductiveAssumeRole-<tenant>" }
Share the
deductive_role_arnvalue with your Deductive AI representative.