Skip to content

Commit

Permalink
Merge pull request #2200 from guardian/jd-revert-2174
Browse files Browse the repository at this point in the history
revert pr #2174 due to failed deployment
  • Loading branch information
johnduffell authored Mar 25, 2024
2 parents 166e3cc + 6eb0a6e commit d24fb5e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2,837 deletions.
33 changes: 9 additions & 24 deletions cdk/bin/cdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ import {
APP_NAME as SINGLE_CONTRIBUTION_SALESFORCE_WRITES_APP_NAME,
SingleContributionSalesforceWrites,
} from '../lib/single-contribution-salesforce-writes';
import type { StripeWebhookEndpointsProps } from '../lib/stripe-webhook-endpoints';
import { StripeWebhookEndpoints } from '../lib/stripe-webhook-endpoints';
import { StripeWebhookEndpoints } from '../lib/stripe-webhook-endpoints';

const app = new App();
const membershipHostedZoneId = 'Z1E4V12LQGXFEC';
Expand Down Expand Up @@ -143,25 +142,11 @@ new GenerateProductCatalog(app, 'generate-product-catalog-PROD', {
domainName: 'product-catalog.guardianapis.com',
});

export const stripeWebhookEndpointsCodeProps: StripeWebhookEndpointsProps = {
stack: "support",
stage: "CODE",
deployBucket: "membership-dist",
certificateId: supportCertificateId,
domainName: `stripe-webhook-endpoints-code.${supportApisDomain}`,
hostedZoneId: supportHostedZoneId,

}
export const stripeWebhookEndpointsProdProps: StripeWebhookEndpointsProps = {
stack: "support",
stage: "PROD",
deployBucket: "membership-dist",
certificateId: supportCertificateId,
domainName: `stripe-webhook-endpoints-prod.${supportApisDomain}`,
hostedZoneId: supportHostedZoneId,
}


new StripeWebhookEndpoints(app, "stripe-webhook-endpoints-CODE",stripeWebhookEndpointsCodeProps);
new StripeWebhookEndpoints(app, "stripe-webhook-endpoints-PROD",stripeWebhookEndpointsProdProps);

new StripeWebhookEndpoints(app, 'stripe-webhook-endpoints-CODE', {
stack: 'membership',
stage: 'CODE',
});
new StripeWebhookEndpoints(app, 'stripe-webhook-endpoints-PROD', {
stack: 'membership',
stage: 'PROD',
});
Loading

0 comments on commit d24fb5e

Please sign in to comment.