Terraform Multi-Environment Architecture
Managing multiple environments with Terraform
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Design the folder structure and Terraform deployment strategy to manage 3 environments (dev, staging, prod) on [CLOUD_PROVIDER]. Include: workspace vs separate directories (trade-offs), tfvars management, remote state with locking, shared modules, and the change promotion strategy between environments.
Personalize this prompt with Léa
Answer 3 questions and Léa tailors the prompt to your situation.
Use Cases
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Privilégie des répertoires séparés plutôt que des workspaces : les workspaces partagent le même code et l'état unique, ce qui rend les erreurs d'environnement faciles. Utilise un backend S3/GCS par environnement avec clé distincte et verrouillage via DynamoDB/Bucket. Définis les tfvars par dossier (dev, staging, prod). Pour la promotion, enchaîne dev → staging → prod via une CI/CD avec plan manuel en prod.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Go further
Similar Prompts
Distributed Tracing with OpenTelemetry
Implement distributed tracing
Advanced Scheduling Strategy
Optimize pod placement
DALL-E Prompt to Generate a Database Schema
DALL-E, OpenAI's image generation model, can be creatively used to produce visual database schemas. Whether you are a developer, software architect, or student, visualizing a database structure as an entity-relationship diagram is essential for understanding links between tables, primary keys, and relationships. Rather than using technical tools like dbdiagram.io or Lucidchart, DALL-E allows you to quickly generate a clear and aesthetic visual of a relational schema, ideal for presentations, educational documents, or brainstorming sessions. The main challenge lies in formulating the prompt: you need to guide the model precisely to obtain a readable diagram, with explicit table names, well-defined columns, and relationships clearly represented by lines and cardinalities. In this guide, you will discover an optimized prompt to generate a professional database schema with DALL-E, as well as variants adapted to your level of expertise and the complexity of your project.
Gemini Prompt for Creating a Chatbot
Gemini, Google's artificial intelligence model, offers remarkable capabilities for designing high-performance chatbots tailored to your needs. Whether you want to create a customer assistant for your e-commerce site, a technical support bot or a conversational companion, Gemini excels at understanding natural language nuances and generating contextual responses. Thanks to its extended context window and multimodal capability, Gemini enables building chatbots that can process text, images and even documents. The main challenge lies in the quality of the initial prompt that will define your chatbot's personality, tone, limits and skills. A well-structured prompt transforms Gemini into a true conversational architect, capable of generating the code, dialogue flows and business logic needed. In this guide, we offer optimized prompts to get the most out of Gemini when creating chatbots, from rapid prototyping to production deployment with error handling and advanced customization.