-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): Update GuCDK from 57.0.0 to 59.5.1 #945
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,5 @@ | ||
# Prism Infrastructure | ||
|
||
This directory defines the components to be deployed to AWS defined as CDK stacks: | ||
- [Prism](./lib/prism.ts) for the application | ||
- [Prism Access](./lib/prism-access.ts) for the stack set that creates a role for Prism to assume in another account | ||
This directory defines the components to be deployed to AWS. | ||
|
||
## Useful commands | ||
|
||
We follow the [`script/task`](https://github.com/github/scripts-to-rule-them-all) pattern, | ||
find useful scripts within the [`script`](./script) directory for common tasks. | ||
|
||
- `./script/setup` to install dependencies | ||
- `./script/start` to run the Jest unit tests in watch mode | ||
- `./script/lint` to lint the code using ESLint | ||
- `./script/test` to lint, run tests and generate templates of the CDK stacks | ||
- `./script/build` to compile TypeScript to JS and generate templates of the CDK stacks | ||
- `./script/ci` to perform CI tasks: lint, build, test and generate templates | ||
|
||
There are also some other commands defined in `package.json`, including: | ||
|
||
- `yarn lint --fix` attempt to autofix any linter errors | ||
- `yarn format` format the code using Prettier | ||
- `yarn watch` watch for changes and compile | ||
|
||
However, it's advised you configure your IDE to format on save to avoid horrible "correct linting" commits. | ||
See [`package.json`](./package.json) for a list of available scripts. |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,13 +13,13 @@ exports[`The PrismEc2App stack matches the snapshot 1`] = ` | |
"GuSubnetListParameter", | ||
"GuSubnetListParameter", | ||
"GuPlayApp", | ||
"GuDistributionBucketParameter", | ||
"GuCertificate", | ||
"GuInstanceRole", | ||
"GuSsmSshPolicy", | ||
"GuDescribeEC2Policy", | ||
"GuLoggingStreamNameParameter", | ||
"GuLogShippingPolicy", | ||
"GuDistributionBucketParameter", | ||
"GuGetDistributablePolicy", | ||
"GuParameterStoreReadPolicy", | ||
"GuAmiParameter", | ||
|
@@ -93,6 +93,11 @@ exports[`The PrismEc2App stack matches the snapshot 1`] = ` | |
}, | ||
}, | ||
"MaxSize": "4", | ||
"MetricsCollection": [ | ||
{ | ||
"Granularity": "1Minute", | ||
}, | ||
], | ||
"MinSize": "2", | ||
"Tags": [ | ||
{ | ||
|
@@ -631,6 +636,7 @@ exports[`The PrismEc2App stack matches the snapshot 1`] = ` | |
}, | ||
"Port": 443, | ||
"Protocol": "HTTPS", | ||
"SslPolicy": "ELBSecurityPolicy-TLS13-1-2-2021-06", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See guardian/cdk#2306. |
||
}, | ||
"Type": "AWS::ElasticLoadBalancingV2::Listener", | ||
}, | ||
|
@@ -1005,6 +1011,24 @@ exports[`The PrismEc2App stack matches the snapshot 1`] = ` | |
"Namespace": "AWS/ApplicationELB", | ||
"Period": 60, | ||
"Statistic": "Maximum", | ||
"Tags": [ | ||
{ | ||
"Key": "gu:cdk:version", | ||
"Value": "TEST", | ||
}, | ||
{ | ||
"Key": "gu:repo", | ||
"Value": "guardian/prism", | ||
}, | ||
{ | ||
"Key": "Stack", | ||
"Value": "deploy", | ||
}, | ||
{ | ||
"Key": "Stage", | ||
"Value": "PROD", | ||
}, | ||
], | ||
"Threshold": 1, | ||
"TreatMissingData": "notBreaching", | ||
}, | ||
|
@@ -1124,6 +1148,7 @@ exports[`The PrismEc2App stack matches the snapshot 1`] = ` | |
"InstanceType": "t4g.medium", | ||
"MetadataOptions": { | ||
"HttpTokens": "required", | ||
"InstanceMetadataTags": "enabled", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See guardian/cdk#2423. |
||
}, | ||
"SecurityGroupIds": [ | ||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See guardian/cdk#2455.