This repository contains Terraform configurations to set up AWS integration for Deductive AI.
- Terraform installed (version 1.12.1 or later)
- 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
-
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>" "release_version" = "v1.2.3" }
Share the
deductive_role_arn
value with your Deductive AI representative.