storacha / w3infra

🏗️ Infra for the w3up UCAN protocol implementation
Other
17 stars 7 forks source link

fix(upload-api-stack): don't add domain to apiID on first zone #420

Closed hannahhoward closed 1 month ago

hannahhoward commented 1 month ago

Goals

resolve https://console.seed.run/dag-house/w3infra/activity/stages/staging/builds/386/services/upload-api

Essentially cause the up.web3.storage domain apiID changes, it tries to recreate the domain record, and it can't. So the solution is don't change the API ID for the web3.storage domain.

Implementation

In order to match the existing deployment, this PR will not add the domain to the first API ID for the first hosted zone.

seed-deploy[bot] commented 1 month ago
View stack outputs - **pr420-w3infra-BillingDbStack** Name | Value -- | -- customerTableName | pr420-w3infra-customer spaceDiffTableName | pr420-w3infra-space-diff spaceSnapshotTableName | pr420-w3infra-space-snapshot usageTable | pr420-w3infra-usage - **pr420-w3infra-BillingStack** Name | Value -- | -- ApiEndpoint | https://owgyqqfk0j.execute-api.us-east-2.amazonaws.com billingCronHandlerURL | https://kicxbgjngdambilbybrjl7vrm40hquzr.lambda-url.us-east-2.on.aws/ CustomDomain | https://pr420.billing.web3.storage - **pr420-w3infra-CarparkStack** Name | Value -- | -- BucketName | carpark-pr420-0 Region | us-east-2 - **pr420-w3infra-RoundaboutStack** Name | Value -- | -- ApiEndpoint | https://emg29crwc0.execute-api.us-east-2.amazonaws.com CustomDomain | https://pr420.roundabout.web3.storage - **pr420-w3infra-UcanInvocationStack** Name | Value -- | -- invocationBucketName | invocation-store-pr420-0 taskBucketName | task-store-pr420-0 workflowBucketName | workflow-store-pr420-0 - **pr420-w3infra-UploadApiStack** Name | Value -- | -- ApiEndpoints | ["https://hd5rwr3ffl.execute-api.us-east-2.amazonaws.com","https://el9j3d1nfi.execute-api.us-east-2.amazonaws.com"] CustomDomains | ["https://pr420.up.web3.storage","https://pr420.up.storacha.network"] - **pr420-w3infra-BusStack** - **pr420-w3infra-FilecoinStack** - **pr420-w3infra-IndexerStack** - **pr420-w3infra-ReplicatorStack** - **pr420-w3infra-UcanFirehoseStack** - **pr420-w3infra-UploadDbStack**