Skip to content

Renaming service with x-defang-static-files fails #1986

@lionello

Description

@lionello

2026-03-15T02:16:57.364Z cd ** error: sdk-v2/provider2.go:572: sdk.helper_schema: creating CloudFront Distribution: operation error CloudFront: CreateDistributionWithTags, https response error StatusCode: 409, RequestID: 750b9144-a2a2-4076-9020-a3441436d1da, CNAMEAlreadyExists: One or more of the CNAMEs you provided are already associated with a different resource.: provider=aws@6.83.2

This happens because the "new" CDN is spun up before the old one is deleted, with no apparent link between the two resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awsAWS related issue

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions