What problem does it solve?
Webiny projects often need AWS infrastructure changes beyond the defaults, such as custom domains, VPC settings, OpenSearch, resource tagging, or blue-green deployments. This Skill guides you through modifying infrastructure safely using Pulumi handlers and declarative components in webiny.config.tsx instead of manually editing cloud resources.
Core Features & Use Cases
- Custom Pulumi Handlers: Implement CorePulumi.Interface to add or modify AWS resources like CloudWatch alarms, S3 buckets, and Lambda settings during deployment.
- Declarative Infra Components: Configure regions, tags, OpenSearch, VPC, custom domains, and blue-green deployments directly in webiny.config.tsx with <Infra.*> components.
- Environment-Conditional Config: Apply settings only in specific environments using <Infra.Env.Is>, and distinguish production-grade environments.
- Use Case: You need a custom domain with an ACM certificate on your Admin app and OpenSearch enabled only in production. Add <Infra.Admin.CustomDomains> and wrap <Infra.OpenSearch enabled={true} /> inside <Infra.Env.Is env="prod">, then run yarn webiny deploy core.
Quick Start
Ask the AI to add a custom Pulumi handler or configure an Infra component such as AWS tags or a custom domain in your webiny.config.tsx file.