-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add cdk package which uses the Gateway cloudformation yaml * Update riffraff to use synthesized Cloudformation JSON * Exclude CDK from root jest, prettier, and eslint * Synth CDK in CI * Update CDK test snapshot
- Loading branch information
Showing
17 changed files
with
7,115 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,5 +57,6 @@ | |
"react": { | ||
"version": "detect" | ||
} | ||
} | ||
}, | ||
"ignorePatterns": ["cdk/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,4 @@ jobs: | |
identity-gateway: | ||
- identity-gateway.zip | ||
gateway-cloudformation: | ||
- cloudformation.yaml | ||
- cdk/cdk.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
*.js | ||
!jest.config.js | ||
!jest.setup.js | ||
!.eslintrc.js | ||
*.d.ts | ||
node_modules | ||
dist | ||
|
||
# CDK asset staging directory | ||
.cdk.staging | ||
cdk.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Infrastructure | ||
|
||
This directory defines the components to be deployed to AWS. | ||
|
||
See [`package.json`](./package.json) for a list of available scripts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import 'source-map-support/register'; | ||
import { GuRoot } from '@guardian/cdk/lib/constructs/root'; | ||
import { IdentityGateway } from '../lib/identity-gateway'; | ||
|
||
const app = new GuRoot(); | ||
new IdentityGateway(app, 'IdentityGateway-euwest-1-PROD', { | ||
stack: 'identity', | ||
stage: 'PROD', | ||
env: { region: 'eu-west-1' }, | ||
}); | ||
new IdentityGateway(app, 'IdentityGateway-euwest-1-CODE', { | ||
stack: 'identity', | ||
stage: 'CODE', | ||
env: { region: 'eu-west-1' }, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"app": "npx ts-node bin/cdk.ts", | ||
"context": { | ||
"aws-cdk:enableDiffNoFail": "true", | ||
"@aws-cdk/core:stackRelativeExports": "true" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
jest.mock("@guardian/cdk/lib/constants/tracking-tag"); |
Oops, something went wrong.