Integrating Inkdrop with Your CI/CD Pipeline
Inkdrop integrates seamlessly with popular CI/CD platforms, allowing you to visualize your Terraform infrastructure changes directly within pull requests and READMEs. This guide covers setting up Inkdrop with GitHub Actions and GitLab CI/CD.
GitHub Actions
1. Generate and Upload Terraform Plan Artifact
First, generate a Terraform plan file and upload it as an artifact in your GitHub Actions workflow:
2. Run Inkdrop Visualizer
Next, add the Inkdrop visualizer job using the official GitHub Action:
This will download the Terraform plan artifact, generate the visualization, and comment it on the pull request.
3. Update README (Optional)
To also update your README with an interactive visualization diagram, add:
That's it! Your CI/CD pipeline will now automatically visualize Terraform changes on pull/merge requests and keep your documentation up-to-date.
For full configuration options, see the Inkdrop GitHub Action or Inkdrop CLI Usage.
GitLab CI/CD
Coming soon!
Last updated