with Terraform and DigiCert?
Retrieves a list of runs in a workspace in Terraform. See the documentation
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.
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`,
},
})
},
})
The DigiCert API provides a programmatic interface to manage the lifecycle of SSL/TLS certificates, offering automation for tasks such as ordering, reissuing, and renewing certificates. Using Pipedream, you can harness this API to create powerful workflows that enhance your certificate management process, ensuring security compliance, automating routine tasks, and integrating with other services, like monitoring systems or deployment pipelines.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
digicert: {
type: "app",
app: "digicert",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.digicert.com/services/v2/user`,
headers: {
"Content-Type": `application/xml`,
"X-DC-DEVKEY": `${this.digicert.$auth.api_key}`,
},
})
},
})