Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#Terraform

Advanced AI Prompt for GitHub Actions Terraform State Automation Pipeline

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-github-actions-terraform-state-automation.txt
Act as a DevOps Engineer. Create a GitHub Actions workflow for the repository [GITHUB_REPO]. The pipeline must: 1. Install [TERRAFORM_VERSION]. 2. Authenticate using [AWS_CREDENTIALS_SECRET]. 3. Perform a 'terraform init' with backend config. 4. Run 'terraform plan' and post the plan output as a PR comment. 5. Only allow 'terraform apply' on the main branch after approval. Ensure the state is properly locked during the run to prevent concurrent execution conflicts.

Example Text Output

"The AI would generate a YAML file for GitHub Actions that includes steps for setup, linting, planning, and a manual approval gate for state-changing operations."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for GitHub Actions Terraform State Automation Pipeline" prompt used for?

The AI would generate a YAML file for GitHub Actions that includes steps for setup, linting, planning, and a manual approval gate for state-changing operations.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.