Skip to content

Commit f07995b

Browse files
committed
Change case of ID
1 parent e38456f commit f07995b

2 files changed

Lines changed: 77 additions & 77 deletions

File tree

cdk/lib/__snapshots__/report.test.ts.snap

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,44 @@ exports[`The Report stack matches the snapshot for CODE 1`] = `
325325
},
326326
"Type": "AWS::IAM::Policy",
327327
},
328+
"EventConsumerBucketE6EE7609": {
329+
"DeletionPolicy": "Retain",
330+
"Properties": {
331+
"BucketName": "aws-mobile-event-logs-code",
332+
"LifecycleConfiguration": {
333+
"Rules": [
334+
{
335+
"ExpirationInDays": 21,
336+
"Status": "Enabled",
337+
},
338+
],
339+
},
340+
"Tags": [
341+
{
342+
"Key": "App",
343+
"Value": "report",
344+
},
345+
{
346+
"Key": "gu:cdk:version",
347+
"Value": "TEST",
348+
},
349+
{
350+
"Key": "gu:repo",
351+
"Value": "guardian/mobile-n10n",
352+
},
353+
{
354+
"Key": "Stack",
355+
"Value": "mobile-notifications",
356+
},
357+
{
358+
"Key": "Stage",
359+
"Value": "CODE",
360+
},
361+
],
362+
},
363+
"Type": "AWS::S3::Bucket",
364+
"UpdateReplacePolicy": "Retain",
365+
},
328366
"GetDistributablePolicyReportA81F1F70": {
329367
"Properties": {
330368
"PolicyDocument": {
@@ -1106,44 +1144,6 @@ exports[`The Report stack matches the snapshot for CODE 1`] = `
11061144
},
11071145
"Type": "AWS::ElasticLoadBalancingV2::TargetGroup",
11081146
},
1109-
"eventconsumerbucketE6F23A1E": {
1110-
"DeletionPolicy": "Retain",
1111-
"Properties": {
1112-
"BucketName": "aws-mobile-event-logs-code",
1113-
"LifecycleConfiguration": {
1114-
"Rules": [
1115-
{
1116-
"ExpirationInDays": 21,
1117-
"Status": "Enabled",
1118-
},
1119-
],
1120-
},
1121-
"Tags": [
1122-
{
1123-
"Key": "App",
1124-
"Value": "report",
1125-
},
1126-
{
1127-
"Key": "gu:cdk:version",
1128-
"Value": "TEST",
1129-
},
1130-
{
1131-
"Key": "gu:repo",
1132-
"Value": "guardian/mobile-n10n",
1133-
},
1134-
{
1135-
"Key": "Stack",
1136-
"Value": "mobile-notifications",
1137-
},
1138-
{
1139-
"Key": "Stage",
1140-
"Value": "CODE",
1141-
},
1142-
],
1143-
},
1144-
"Type": "AWS::S3::Bucket",
1145-
"UpdateReplacePolicy": "Retain",
1146-
},
11471147
"mobilenotificationsCODEreport785B3FAD": {
11481148
"DependsOn": [
11491149
"InstanceRoleReport42223080",
@@ -1629,6 +1629,44 @@ exports[`The Report stack matches the snapshot for PROD 1`] = `
16291629
},
16301630
"Type": "AWS::IAM::Policy",
16311631
},
1632+
"EventConsumerBucketE6EE7609": {
1633+
"DeletionPolicy": "Retain",
1634+
"Properties": {
1635+
"BucketName": "aws-mobile-event-logs-prod",
1636+
"LifecycleConfiguration": {
1637+
"Rules": [
1638+
{
1639+
"ExpirationInDays": 21,
1640+
"Status": "Enabled",
1641+
},
1642+
],
1643+
},
1644+
"Tags": [
1645+
{
1646+
"Key": "App",
1647+
"Value": "report",
1648+
},
1649+
{
1650+
"Key": "gu:cdk:version",
1651+
"Value": "TEST",
1652+
},
1653+
{
1654+
"Key": "gu:repo",
1655+
"Value": "guardian/mobile-n10n",
1656+
},
1657+
{
1658+
"Key": "Stack",
1659+
"Value": "mobile-notifications",
1660+
},
1661+
{
1662+
"Key": "Stage",
1663+
"Value": "PROD",
1664+
},
1665+
],
1666+
},
1667+
"Type": "AWS::S3::Bucket",
1668+
"UpdateReplacePolicy": "Retain",
1669+
},
16321670
"GetDistributablePolicyReportA81F1F70": {
16331671
"Properties": {
16341672
"PolicyDocument": {
@@ -2410,44 +2448,6 @@ exports[`The Report stack matches the snapshot for PROD 1`] = `
24102448
},
24112449
"Type": "AWS::ElasticLoadBalancingV2::TargetGroup",
24122450
},
2413-
"eventconsumerbucketE6F23A1E": {
2414-
"DeletionPolicy": "Retain",
2415-
"Properties": {
2416-
"BucketName": "aws-mobile-event-logs-prod",
2417-
"LifecycleConfiguration": {
2418-
"Rules": [
2419-
{
2420-
"ExpirationInDays": 21,
2421-
"Status": "Enabled",
2422-
},
2423-
],
2424-
},
2425-
"Tags": [
2426-
{
2427-
"Key": "App",
2428-
"Value": "report",
2429-
},
2430-
{
2431-
"Key": "gu:cdk:version",
2432-
"Value": "TEST",
2433-
},
2434-
{
2435-
"Key": "gu:repo",
2436-
"Value": "guardian/mobile-n10n",
2437-
},
2438-
{
2439-
"Key": "Stack",
2440-
"Value": "mobile-notifications",
2441-
},
2442-
{
2443-
"Key": "Stage",
2444-
"Value": "PROD",
2445-
},
2446-
],
2447-
},
2448-
"Type": "AWS::S3::Bucket",
2449-
"UpdateReplacePolicy": "Retain",
2450-
},
24512451
"mobilenotificationsPRODreportC3AAE58A": {
24522452
"DependsOn": [
24532453
"InstanceRoleReport42223080",

cdk/lib/report.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export class Report extends GuStack {
189189
}),
190190
);
191191

192-
new Bucket(this, 'event-consumer-bucket', {
192+
new Bucket(this, 'EventConsumerBucket', {
193193
bucketName: `aws-mobile-event-logs-${stage.toLowerCase()}`,
194194
removalPolicy: RemovalPolicy.RETAIN,
195195
lifecycleRules: [{ expiration: Duration.days(21), enabled: true }],

0 commit comments

Comments
 (0)