Terraform

Terraform Cloud enables infrastructure automation for provisioning, compliance, and management of any cloud, datacenter, and service.

Integrate the Terraform API with the AWS API

Setup the Terraform API trigger to run a workflow which integrates with the AWS API. Pipedream's integration platform allows you to integrate Terraform and AWS remarkably fast. Free for developers.

Create Run with Terraform API on New Scheduled Tasks from AWS API
AWS + Terraform
 
Try it
Create Run with Terraform API on New SNS Messages from AWS API
AWS + Terraform
 
Try it
List Runs with Terraform API on New Scheduled Tasks from AWS API
AWS + Terraform
 
Try it
List Runs with Terraform API on New SNS Messages from AWS API
AWS + Terraform
 
Try it
Create Run with Terraform API on New Inbound SES Emails from AWS API
AWS + Terraform
 
Try it
New Scheduled Tasks from the AWS API

Creates a Step Function State Machine to publish a message to an SNS topic at a specific timestamp. The SNS topic delivers the message to this Pipedream source, and the source emits it as a new event.

 
Try it
New SNS Messages from the AWS API

Creates an SNS topic in your AWS account. Messages published to this topic are emitted from the Pipedream source.

 
Try it
New Run Createe from the Terraform API

Emit new event when a new run is created in Terraform.

 
Try it
New Inbound SES Emails from the AWS API

The source subscribes to all emails delivered to a specific domain configured in AWS SES. When an email is sent to any address at the domain, this event source emits that email as a formatted event. These events can trigger a Pipedream workflow and can be consumed via SSE or REST API.

 
Try it
New Deleted S3 File from the AWS API

Emit new event when a file is deleted from a S3 bucket

 
Try it
Create Run with the Terraform API

Creates a new run in Terraform. See the documentation

 
Try it
List Runs with the Terraform API

Retrieves a list of runs in a workspace in Terraform. See the documentation

 
Try it
CloudWatch Logs - Put Log Event with the AWS API

Uploads a log event to the specified log stream. See docs

 
Try it
DynamoDB - Create Table with the AWS API

Creates a new table to your account. See docs

 
Try it
DynamoDB - Execute Statement with the AWS API

This operation allows you to perform transactional reads or writes on data stored in DynamoDB, using PartiQL. See docs

 
Try it

Overview of Terraform

The Terraform API allows for the automation of infrastructure as code (IaC) management tasks. With Pipedream, you can orchestrate workflows that interact with Terraform to create, update, or destroy infrastructure programmatically. You can trigger workflows with webhooks, schedule them, or run them in response to events from other services. By integrating Terraform with Pipedream, you can streamline your DevOps processes, enforce compliance, and manage infrastructure changes with ease.

Connect Terraform

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    terraform: {
      type: "app",
      app: "terraform",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.terraform.io/api/v2/account/details`,
      headers: {
        Authorization: `Bearer ${this.terraform.$auth.api_token}`,
        "Content-Type": `application/vnd.api+json`,
      },
    })
  },
})

Overview of AWS

The AWS API unlocks endless possibilities for automation with Pipedream. With this powerful combo, you can manage your AWS services and resources, automate deployment workflows, process data, and react to events across your AWS infrastructure. Pipedream offers a serverless platform for creating workflows triggered by various events that can execute AWS SDK functions, making it an efficient tool to integrate, automate, and orchestrate tasks across AWS services and other apps.

Connect AWS

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import AWS from 'aws-sdk'

export default defineComponent({
  props: {
    aws: {
      type: "app",
      app: "aws",
    }
  },
  async run({steps, $}) {
    const { accessKeyId, secretAccessKey } = this.aws.$auth
    
    /* Now, pass the accessKeyId and secretAccessKey to the constructor for your desired service. For example:
    
    const dynamodb = new AWS.DynamoDB({
      accessKeyId, 
      secretAccessKey,
      region: 'us-east-1',
    })
    
    */
  },
})