terraform-regex-patterns

Official

Easily compose Terraform regex patterns.

AuthorLuscii
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a ready-to-use library of Terraform regex patterns and examples for the built-in regex functions (regex, regexall, and replace), reducing guesswork and errors when matching strings in Terraform configurations.

Core Features & Use Cases

  • Pattern Library: A curated set of regular expressions with RE2 syntax and inline usage examples.
  • Practical Scenarios: Validate emails, extract digits, and match common identifiers (dates, AWS ARNs) within Terraform code.
  • Use Case: Apply these patterns to quickly implement data validation and string manipulation in your Terraform modules.

Quick Start

Use the Terraform regex patterns to validate a sample email with regex("^[\w._%+-]+@[\w.-]+\.[a-zA-Z]{2,}$", var.email).

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: terraform-regex-patterns
Download link: https://github.com/Luscii/terraform-fluentbit-config-renderer/archive/main.zip#terraform-regex-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.