Skip to content

Commit

Permalink
update to latest gucdk 59.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-nowak committed Aug 20, 2024
1 parent 3bc0e0d commit 7b64f99
Show file tree
Hide file tree
Showing 3 changed files with 855 additions and 506 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
"GuSubnetListParameter",
"GuSubnetListParameter",
"GuPlayWorkerApp",
"GuDistributionBucketParameter",
"GuInstanceRole",
"GuSsmSshPolicy",
"GuDescribeEC2Policy",
"GuLoggingStreamNameParameter",
"GuLogShippingPolicy",
"GuDistributionBucketParameter",
"GuGetDistributablePolicy",
"GuParameterStoreReadPolicy",
"GuAmiParameter",
Expand Down Expand Up @@ -89,6 +90,15 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
},
},
"MaxSize": "2",
"MetricsCollection": [
{
"Granularity": "1Minute",
"Metrics": [
"GroupTotalInstances",
"GroupInServiceInstances",
],
},
],
"MinSize": "1",
"Tags": [
{
Expand Down Expand Up @@ -203,6 +213,7 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
"Description": "The s3 bucket name to upload images to. [AUTOMATICALLY UPDATED FROM CDK/CFN]",
"Name": "/TEST/media-service/associated-press-feed/aws/s3/uploadBucketName",
"Tags": {
"App": "associated-press-feed",
"Stack": "media-service",
"Stage": "TEST",
"gu:cdk:version": "TEST",
Expand Down Expand Up @@ -381,7 +392,7 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
},
],
"AlarmDescription": "associated-press-feed exceeded 5% error rate",
"AlarmName": "High 5XX error % from associated-press-feed in TEST",
"AlarmName": "High 5XX error percentage from associated-press-feed in TEST",
"ComparisonOperator": "GreaterThanThreshold",
"EvaluationPeriods": 1,
"Metrics": [
Expand Down Expand Up @@ -460,6 +471,28 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
"ReturnData": false,
},
],
"Tags": [
{
"Key": "App",
"Value": "associated-press-feed",
},
{
"Key": "gu:cdk:version",
"Value": "TEST",
},
{
"Key": "gu:repo",
"Value": "guardian/grid-feeds",
},
{
"Key": "Stack",
"Value": "media-service",
},
{
"Key": "Stage",
"Value": "TEST",
},
],
"Threshold": 5,
"TreatMissingData": "notBreaching",
},
Expand All @@ -479,20 +512,6 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
],
"Version": "2012-10-17",
},
"ManagedPolicyArns": [
{
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition",
},
":iam::aws:policy/AmazonSSMManagedInstanceCore",
],
],
},
],
"Path": "/",
"Tags": [
{
Expand Down Expand Up @@ -617,6 +636,14 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
"Key": "deletion_protection.enabled",
"Value": "true",
},
{
"Key": "routing.http.x_amzn_tls_version_and_cipher_suite.enabled",
"Value": "true",
},
{
"Key": "routing.http.drop_invalid_header_fields.enabled",
"Value": "true",
},
],
"Scheme": "internal",
"SecurityGroups": [
Expand Down Expand Up @@ -794,6 +821,42 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
},
"Type": "AWS::IAM::Policy",
},
"SsmSshPolicy4CFC977E": {
"Properties": {
"PolicyDocument": {
"Statement": [
{
"Action": [
"ec2messages:AcknowledgeMessage",
"ec2messages:DeleteMessage",
"ec2messages:FailMessage",
"ec2messages:GetEndpoint",
"ec2messages:GetMessages",
"ec2messages:SendReply",
"ssm:UpdateInstanceInformation",
"ssm:ListInstanceAssociations",
"ssm:DescribeInstanceProperties",
"ssm:DescribeDocumentParameters",
"ssmmessages:CreateControlChannel",
"ssmmessages:CreateDataChannel",
"ssmmessages:OpenControlChannel",
"ssmmessages:OpenDataChannel",
],
"Effect": "Allow",
"Resource": "*",
},
],
"Version": "2012-10-17",
},
"PolicyName": "ssm-ssh-policy",
"Roles": [
{
"Ref": "InstanceRoleAssociatedpressfeed489B555B",
},
],
},
"Type": "AWS::IAM::Policy",
},
"TargetGroupAssociatedpressfeedA3879734": {
"Properties": {
"HealthCheckIntervalSeconds": 10,
Expand Down Expand Up @@ -939,6 +1002,28 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
"Namespace": "AWS/ApplicationELB",
"Period": 60,
"Statistic": "Maximum",
"Tags": [
{
"Key": "App",
"Value": "associated-press-feed",
},
{
"Key": "gu:cdk:version",
"Value": "TEST",
},
{
"Key": "gu:repo",
"Value": "guardian/grid-feeds",
},
{
"Key": "Stack",
"Value": "media-service",
},
{
"Key": "Stage",
"Value": "TEST",
},
],
"Threshold": 1,
"TreatMissingData": "notBreaching",
},
Expand All @@ -964,6 +1049,10 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
},
],
"Tags": [
{
"Key": "App",
"Value": "associated-press-feed",
},
{
"Key": "gu:cdk:version",
"Value": "TEST",
Expand Down Expand Up @@ -1050,6 +1139,10 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
},
"TableName": "associated-press-feed-TEST",
"Tags": [
{
"Key": "App",
"Value": "associated-press-feed",
},
{
"Key": "devx-backup-enabled",
"Value": "true",
Expand All @@ -1076,6 +1169,9 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
"UpdateReplacePolicy": "Retain",
},
"mediaserviceTESTassociatedpressfeedA84215E5": {
"DependsOn": [
"InstanceRoleAssociatedpressfeed489B555B",
],
"Properties": {
"LaunchTemplateData": {
"IamInstanceProfile": {
Expand Down Expand Up @@ -1111,6 +1207,10 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
{
"ResourceType": "instance",
"Tags": [
{
"Key": "App",
"Value": "associated-press-feed",
},
{
"Key": "gu:cdk:version",
"Value": "TEST",
Expand All @@ -1136,6 +1236,10 @@ exports[`The AssociatedPressFeed stack matches the snapshot 1`] = `
{
"ResourceType": "volume",
"Tags": [
{
"Key": "App",
"Value": "associated-press-feed",
},
{
"Key": "gu:cdk:version",
"Value": "TEST",
Expand Down Expand Up @@ -1181,6 +1285,10 @@ dpkg -i /associated-press-feed/associated-press-feed.deb",
{
"ResourceType": "launch-template",
"Tags": [
{
"Key": "App",
"Value": "associated-press-feed",
},
{
"Key": "gu:cdk:version",
"Value": "TEST",
Expand Down
Loading

0 comments on commit 7b64f99

Please sign in to comment.