Conversation
akash1810
commented
Dec 22, 2021
Comment on lines
+74
to
+76
| metric: props.targetGroup | ||
| .metricUnhealthyHostCount() | ||
| .with({ period: Duration.minutes(5), statistic: Statistic.MAXIMUM }), |
Member
Author
There was a problem hiding this comment.
This resolves a deprecation warning where period and statistic should now be declared against the metric, rather than a top level prop.
Comment on lines
+5
to
+98
| "Mappings": Object { | ||
| "ServiceprincipalMap": Object { | ||
| "af-south-1": Object { | ||
| "states": "states.af-south-1.amazonaws.com", | ||
| }, | ||
| "ap-east-1": Object { | ||
| "states": "states.ap-east-1.amazonaws.com", | ||
| }, | ||
| "ap-northeast-1": Object { | ||
| "states": "states.ap-northeast-1.amazonaws.com", | ||
| }, | ||
| "ap-northeast-2": Object { | ||
| "states": "states.ap-northeast-2.amazonaws.com", | ||
| }, | ||
| "ap-northeast-3": Object { | ||
| "states": "states.ap-northeast-3.amazonaws.com", | ||
| }, | ||
| "ap-south-1": Object { | ||
| "states": "states.ap-south-1.amazonaws.com", | ||
| }, | ||
| "ap-southeast-1": Object { | ||
| "states": "states.ap-southeast-1.amazonaws.com", | ||
| }, | ||
| "ap-southeast-2": Object { | ||
| "states": "states.ap-southeast-2.amazonaws.com", | ||
| }, | ||
| "ap-southeast-3": Object { | ||
| "states": "states.ap-southeast-3.amazonaws.com", | ||
| }, | ||
| "ca-central-1": Object { | ||
| "states": "states.ca-central-1.amazonaws.com", | ||
| }, | ||
| "cn-north-1": Object { | ||
| "states": "states.cn-north-1.amazonaws.com", | ||
| }, | ||
| "cn-northwest-1": Object { | ||
| "states": "states.cn-northwest-1.amazonaws.com", | ||
| }, | ||
| "eu-central-1": Object { | ||
| "states": "states.eu-central-1.amazonaws.com", | ||
| }, | ||
| "eu-north-1": Object { | ||
| "states": "states.eu-north-1.amazonaws.com", | ||
| }, | ||
| "eu-south-1": Object { | ||
| "states": "states.eu-south-1.amazonaws.com", | ||
| }, | ||
| "eu-south-2": Object { | ||
| "states": "states.eu-south-2.amazonaws.com", | ||
| }, | ||
| "eu-west-1": Object { | ||
| "states": "states.eu-west-1.amazonaws.com", | ||
| }, | ||
| "eu-west-2": Object { | ||
| "states": "states.eu-west-2.amazonaws.com", | ||
| }, | ||
| "eu-west-3": Object { | ||
| "states": "states.eu-west-3.amazonaws.com", | ||
| }, | ||
| "me-south-1": Object { | ||
| "states": "states.me-south-1.amazonaws.com", | ||
| }, | ||
| "sa-east-1": Object { | ||
| "states": "states.sa-east-1.amazonaws.com", | ||
| }, | ||
| "us-east-1": Object { | ||
| "states": "states.us-east-1.amazonaws.com", | ||
| }, | ||
| "us-east-2": Object { | ||
| "states": "states.us-east-2.amazonaws.com", | ||
| }, | ||
| "us-gov-east-1": Object { | ||
| "states": "states.us-gov-east-1.amazonaws.com", | ||
| }, | ||
| "us-gov-west-1": Object { | ||
| "states": "states.us-gov-west-1.amazonaws.com", | ||
| }, | ||
| "us-iso-east-1": Object { | ||
| "states": "states.amazonaws.com", | ||
| }, | ||
| "us-iso-west-1": Object { | ||
| "states": "states.amazonaws.com", | ||
| }, | ||
| "us-isob-east-1": Object { | ||
| "states": "states.amazonaws.com", | ||
| }, | ||
| "us-west-1": Object { | ||
| "states": "states.us-west-1.amazonaws.com", | ||
| }, | ||
| "us-west-2": Object { | ||
| "states": "states.us-west-2.amazonaws.com", | ||
| }, | ||
| }, | ||
| }, |
Comment on lines
+743
to
+766
| "Tags": Array [ | ||
| Object { | ||
| "Key": "App", | ||
| "Value": "ecs-test", | ||
| }, | ||
| Object { | ||
| "Key": "gu:cdk:version", | ||
| "Value": "TEST", | ||
| }, | ||
| Object { | ||
| "Key": "gu:repo", | ||
| "Value": "guardian/cdk", | ||
| }, | ||
| Object { | ||
| "Key": "Stack", | ||
| "Value": "test-stack", | ||
| }, | ||
| Object { | ||
| "Key": "Stage", | ||
| "Value": Object { | ||
| "Ref": "Stage", | ||
| }, | ||
| }, | ||
| ], |
| vpc, | ||
| listener: { | ||
| sslCertificateId: "certificateId", | ||
| sslCertificateArn: "certificateId", |
Member
Author
There was a problem hiding this comment.
sslCertificateId is deprecated in favour of sslCertificateArn.
Comment on lines
+517
to
+519
| "DependsOn": Array [ | ||
| "lambdaapi2AccountFAF30ECB", | ||
| ], |
Comment on lines
+221
to
+222
| "kinesis:DescribeStream", | ||
| "kinesis:ListStreams", |
2 tasks
jacobwinch
approved these changes
Dec 23, 2021
This version follows v49.0.0 of the CloudFormation Resource specification, which sees tag support added to `AWS::Logs::LogGroup` resources. It also includes a fix for Kinesis triggered Lambdas, specifically fixing the permissions needed by the Lambda on the Kinesis stream. See: - https://github.com/aws/aws-cdk/releases/tag/v1.133.0 - https://github.com/aws/aws-cdk/blob/master/packages/@aws-cdk/cfnspec/CHANGELOG.md#cloudformation-resource-specification-v4900 - aws/aws-cdk#17358 BREAKING CHANGE: Update aws-cdk libraries to 1.133.0
BREAKING CHANGE: Update aws-cdk libraries to 1.134.0
BREAKING CHANGE: Update aws-cdk libraries to 1.135.0
This version follows v49.0.0 of the CloudFormation Resource specification, which sees `ShardCount` on `AWS::Kinesis::Stream` to be optional (required = false). This manifests in the properties in the snapshot being alphabetised, i.e. this is a a no-op for a `GuKinesisStream`. See: - https://github.com/aws/aws-cdk/releases/tag/v1.136.0 - https://github.com/aws/aws-cdk/blob/master/packages/@aws-cdk/cfnspec/CHANGELOG.md#cloudformation-resource-specification-v5100 BREAKING CHANGE: Update aws-cdk libraries to 1.136.0
This brings in two fixes which is reflected in the snapshot changes. See: - aws/aws-cdk#17984 - aws/aws-cdk#18011 BREAKING CHANGE: Update aws-cdk libraries to 1.137.0
Contributor
|
🎉 This PR is included in version 32.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
Moving from 1.132.0 to 1.137 brings a few new features and bug fixes, most notably tag support added to
AWS::Logs::LogGroupresources!There are a few snapshot updates to reflect these new features and bug fixes. See the individual commits for more information.
We should update our Lambda constructs to create an explicit
LogGroupto take advantage of tag support. See also guardian/cloudwatch-logs-management#19.BREAKING CHANGE: Update aws-cdk libraries to 1.137.0
How to test
See CI pass.
Note: CI is now witnessing a lot of
console.logs, this gets fixed in aws/aws-cdk#18136.How can we measure success?
Keeping dependencies up to date (and unblocking #995).
Have we considered potential risks?
n/a
Checklist
Footnotes
Consider whether this is something that will mean changes to projects that have already been migrated, or to the CDK CLI tool. If changes are required, consider adding a checklist here and/or linking to related PRs. ↩
If you are adding a new construct or pattern, has new documentation been added? If you are amending defaults or changing behaviour, are the existing docs still valid? ↩