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

Advanced Terraform Multi-Cloud Abstraction Module

Customize the variables below to instantly engineer your prompt.

Required Variables

terraform-multi-cloud-abstraction-module.txt
Act as a Principal Infrastructure-as-Code Architect. Design a highly complex, cloud-agnostic Terraform module designed to abstract the deployment of a [ABSTRACTED_RESOURCE_TYPE] (e.g., a managed Kubernetes cluster or a PostgreSQL database) across both [PRIMARY_CLOUD] (AWS) and [SECONDARY_CLOUD] (GCP). You must heavily utilize Terraform's `count` and `for_each` meta-arguments alongside complex local variables to dynamically evaluate a `cloud_provider` input variable. If the variable equals 'aws', the module must route to the `aws_eks_cluster` resource; if 'gcp', it routes to the `google_container_cluster` resource. Detail exactly how to standardize the output payload (e.g., universally returning `cluster_endpoint` and `ca_certificate`) regardless of the underlying cloud provider, ensuring downstream CI/CD pipelines require zero modification.

Example Text Output

"A masterclass in Terraform module design that provides a single, unified interface for provisioning complex infrastructure across AWS and GCP, completely eliminating vendor lock-in at the IaC layer."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced Terraform Multi-Cloud Abstraction Module" prompt used for?

A masterclass in Terraform module design that provides a single, unified interface for provisioning complex infrastructure across AWS and GCP, completely eliminating vendor lock-in at the IaC layer.

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.