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

Terraform Module for ECS Fargate with Sidecar Logging

Customize the variables below to instantly engineer your prompt.

Required Variables

terraform-ecs-fargate-firelens-logging-module.txt
Act as an Infrastructure-as-Code Developer. Architect a highly reusable, production-ready Terraform module defining an ECS Fargate task definition for [PROJECT_NAME]. The core requirement is the seamless integration of an AWS FireLens sidecar container running the highly optimized [FLUENT_BIT_IMAGE] for advanced, multi-destination log routing. The FireLens router must simultaneously push `stdout` logs to the CloudWatch [LOG_GROUP_NAME] and stream a compressed backup copy to an external data lake. To achieve complex regex filtering, configure the container to pull a custom `fluent-bit.conf` file directly from the [S3_CONFIG_BUCKET] at runtime. Output the exact Terraform JSON encoding for the `container_definitions` array, ensuring the `logConfiguration` strictly specifies `awsfirelens`.

Expected Visual Output

Expected visual output for Terraform Module for ECS Fargate with Sidecar Logging

Example Text Output

"You receive a complete Terraform module that implements high-performance log routing"

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Terraform Module for ECS Fargate with Sidecar Logging" prompt used for?

You receive a complete Terraform module that implements high-performance log routing

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.