Skip to content

deductive-ai/aws-setup

Repository files navigation

Deductive AI AWS Integration

This repository contains Terraform configurations to set up AWS integration for Deductive AI.

Prerequisites

  • Ubuntu/Debian/Fedora or macOS
  • External ID provided by Deductive AI
  • Tenant identifier for your organization

Quick Start

  1. 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
  1. 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>"
  2. 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_arn value with your Deductive AI representative.

About

Apply changes for customer's AWS environment

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •