P
💻DeveloppementIntermediateAll AIs

Terraform Module for Cloud Service

Create a reusable Terraform module

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Generate a reusable Terraform module to deploy [SERVICE: EKS/RDS/Lambda/ECS] on AWS in a [ENVIRONMENT: dev/staging/prod] environment. The module should include: input variables with validation, outputs, tag management, multi-region support, and a README with usage examples. Follow security best practices (IAM least privilege, encryption).

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Use Cases

Create a reusable Terraform module

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Ajoute une variable `tags` de type `map(string)` avec une validation pour garantir la présence de `Environment` et `Project`, et utilise `merge(local.default_tags, var.tags)` partout. Cela évite les tags manquants et facilite la gouvernance.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

💻DeveloppementBeginnerAll AIs

Write a Makefile for a project

Create project Makefiles

0221
💻DeveloppementAdvancedAll AIs

Multi-cloud pipeline

Simultaneous multi-cloud deployment

0237
💻DeveloppementIntermediateAll AIs

Stable Diffusion Prompt for Generating Unit Tests

Stable Diffusion is primarily known as an image generation model, but its ecosystem includes interfaces and workflows that can be creatively repurposed to support software development. In the context of generating unit tests, Stable Diffusion can be used to produce visual diagrams of test coverage, architecture schematics illustrating dependencies to test, or graphic representations of edge cases to cover. By combining Stable Diffusion with well-crafted prompts, developers can visualize the structure of their test suites before implementing them. This visual approach makes it easier to identify missing scenarios and communicate more effectively with non-technical teams about the adopted testing strategy. The generated diagrams serve as living documentation that complements the tests written in code. This guide offers optimized prompts to leverage Stable Diffusion in your unit testing workflow, transforming abstract code coverage concepts into clear, actionable visual representations for the entire development team.

0238
💻DeveloppementBeginnerAll AIs

Configuring Kubernetes Resources

Optimizing Kubernetes Resources

0284