Skip to content

Injectable ApplyAdminCustomDomains and ApplyApiCustomDomains Services#5201

Open
adrians5j wants to merge 12 commits into
nextfrom
adrian/pulumi-custom-domain-abstractions-2026-05-12
Open

Injectable ApplyAdminCustomDomains and ApplyApiCustomDomains Services#5201
adrians5j wants to merge 12 commits into
nextfrom
adrian/pulumi-custom-domain-abstractions-2026-05-12

Conversation

@adrians5j
Copy link
Copy Markdown
Member

@adrians5j adrians5j commented May 12, 2026

What changed

Introduces two new injectable DI services — ApplyAdminCustomDomains and ApplyApiCustomDomains — that allow users to apply custom CloudFront domain configuration from within a single AdminPulumi or ApiPulumi implementation file. Previously, there was no supported way to wire dynamically-created Pulumi resources (e.g. Route53 records, ACM certificates) to the CloudFront custom domain setup; users had to hardcode values in the static Infra.Admin.CustomDomains JSX extension. The Pulumi execution model for both apps is also updated so implementations run before the CloudFront resource is created, which is required for config modifications to take effect.

Changelog

Dynamically Apply Custom Domains in Admin and API Pulumi Implementations

Custom CloudFront domain configuration can now be applied dynamically from within a standard AdminPulumi or ApiPulumi implementation by injecting the new ApplyAdminCustomDomains or ApplyApiCustomDomains service. This makes it possible to create Route53 records and ACM certificates in the same file and wire their Pulumi outputs directly to the CloudFront distribution, without needing hardcoded values or multiple files.

Squash Merge Commit

feat(project-aws): injectable ApplyAdminCustomDomains and ApplyApiCustomDomains services (#PR)

@adrians5j adrians5j added this to the 6.4.0 milestone May 12, 2026
@adrians5j adrians5j changed the title adrian/pulumi-custom-domain-abstractions-2026-05-12 Injectable ApplyAdminCustomDomains and ApplyApiCustomDomains Services May 12, 2026
adrians5j and others added 9 commits May 12, 2026 13:10
… github.com:webiny/webiny-js into adrian/pulumi-custom-domain-abstractions-2026-05-12

# Conflicts:
#	packages/project-aws/src/pulumi/apps/admin/createAdminPulumiApp.ts
#	packages/project-aws/src/pulumi/apps/api/createApiPulumiApp.ts
… github.com:webiny/webiny-js into adrian/pulumi-custom-domain-abstractions-2026-05-12
… github.com:webiny/webiny-js into adrian/pulumi-custom-domain-abstractions-2026-05-12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant