@mavogel/awscdk-rootmail 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/.jsii +2 -2
  2. package/CONTRIBUTING.md +1 -10
  3. package/integ-tests/README.md +10 -9
  4. package/integ-tests/cleanup/delete-log-groups.py +9 -6
  5. package/integ-tests/functions/close-opsitem-handler.ts +4 -3
  6. package/integ-tests/integ.rootmail.ts +4 -4
  7. package/integ-tests/integ.rootmail.ts.snapshot/RootmailIntegTestStack.assets.json +29 -29
  8. package/integ-tests/integ.rootmail.ts.snapshot/RootmailIntegTestStack.template.json +107 -20
  9. package/integ-tests/integ.rootmail.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.assets.json +2 -2
  10. package/integ-tests/integ.rootmail.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.template.json +43 -17
  11. package/integ-tests/integ.rootmail.ts.snapshot/{asset.54be26a6d7b1da3c05a111d3350351623166b8de03c9edb60405509800b9547b → asset.398c1494ee7aa450b48095240fc626fdac5a8ea4662a27b64162e61949c6f3b9}/index.js +759 -370
  12. package/integ-tests/integ.rootmail.ts.snapshot/{asset.b98430399e05a4d6daed4e2d6cec716645bf79ac334561c2f38b9efede570e23 → asset.40792594eb6b226b515b669e95c0687ecc740adf225fdb9ad2841b217c070f76}/index.js +758 -369
  13. package/integ-tests/integ.rootmail.ts.snapshot/{asset.0d7c7a7383bd188507edd1418c134d29b0792efd1ccbba0da75311002020e65d → asset.78feee95e82ef361d9d27f66f2b9be1a91ff5ec2afcb2e1f35f121aa3f902c1a}/index.js +758 -369
  14. package/integ-tests/integ.rootmail.ts.snapshot/{asset.33ac6a02ced9e72a70fce1b803f62512c513a125854f78cb153829678f6990c3 → asset.bc282d8aa82302eec594bc3f486c7c5a52ed8a5335b728970760e8b68e201037}/index.js +758 -369
  15. package/integ-tests/integ.rootmail.ts.snapshot/{asset.61fab78d8315be84fb5ddcd593f0411773aaf262b84ec59f2dcab0568de73698 → asset.bdddcd5dc9deea1e8548896bbc66f3c77095a83cf03dce262f1021dc5084b434}/index.js +758 -369
  16. package/integ-tests/integ.rootmail.ts.snapshot/{asset.fb84360f7467923a0658a669f4d3ee04bf136a74f97d873be2abadb4bcab711e → asset.d4cadbcd34a7190b2e8cdb99918ac4dfb6f159dc7329660db6940bbcca3ec8f2}/index.js +758 -369
  17. package/integ-tests/integ.rootmail.ts.snapshot/{asset.93f248c0d906f32e25d0bd38725b66ad57f9261397088e15966d26fea87d2de0 → asset.d743f551cbc5887508238844bf8235dc31c07ccbdfafcabc0d920397a26502c3}/index.js +758 -369
  18. package/integ-tests/integ.rootmail.ts.snapshot/{asset.2622827c68651f3e047bc6c261ad6d8e213a1a2ff80d570d1a757746c25787f4 → asset.e1af3b308bce8549a83727689853cc1bcc322a2f2f99bab1417667050c14792b}/index.js +758 -369
  19. package/integ-tests/integ.rootmail.ts.snapshot/{asset.bdbd19752d7324326841494d68ece6350ceb3a5e56735547d431ef5bfe0a3199 → asset.ff373a1476ac715751c8365e785fb10df2d9314294bdae4cf52dbbe3d1f3daa8}/index.js +758 -369
  20. package/integ-tests/integ.rootmail.ts.snapshot/integ.json +1 -1
  21. package/integ-tests/integ.rootmail.ts.snapshot/manifest.json +14 -14
  22. package/integ-tests/integ.rootmail.ts.snapshot/tree.json +78 -33
  23. package/lib/hosted-zone-dkim-verification-records.on-event-handler.js +3 -1
  24. package/lib/hosted-zone-dkim.d.ts +7 -1
  25. package/lib/hosted-zone-dkim.js +3 -1
  26. package/lib/index-cli-synth.js +5 -3
  27. package/lib/rootmail-autowire-dns.d.ts +5 -1
  28. package/lib/rootmail-autowire-dns.js +2 -2
  29. package/lib/rootmail.js +1 -1
  30. package/lib/ses-receive.js +1 -1
  31. package/package.json +2 -2
package/.jsii CHANGED
@@ -3835,6 +3835,6 @@
3835
3835
  "symbolId": "src/ses-receive:SESReceiveProps"
3836
3836
  }
3837
3837
  },
3838
- "version": "0.0.11",
3839
- "fingerprint": "00GlKcNBBJBL66viJVtZdz2X52lR0lKn1CepQre7aU4="
3838
+ "version": "0.0.12",
3839
+ "fingerprint": "K6+9KQ3ezzZ8LjJvCMwHDX9degXnySh5+s9Sd6VTy28="
3840
3840
  }
package/CONTRIBUTING.md CHANGED
@@ -32,16 +32,7 @@ To send us a pull request, please:
32
32
  1. Fork the repository.
33
33
  2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
34
34
  3. Ensure local tests pass -> `npm run test`
35
- 4. Ensure integ tests pass in your own aws account (see also the [integ-tests/README](integ/tests/README.md)) for more details
36
- ```bash
37
- # set the environment first
38
- ## in you AWS account
39
- export TEST_DOMAIN='yourdomain.com'
40
- ## the ID of the hosted zone the domain $TEST_DOMAIN, mentioned above has
41
- export TEST_PARENT_HOSTED_ZONE_ID=Z1234343YUSDL
42
- # run the tests
43
- npm run integ-test
44
- ```
35
+ 4. Ensure integ tests pass in your own aws account (see also the [integ-tests/README](integ/tests/README.md)) for details
45
36
  5. Build the project -> `npm run build` to also update the `API.md` file.
46
37
  6. Commit to your fork using clear commit messages.
47
38
  7. Send us a pull request, answering any default questions in the pull request interface.
@@ -2,12 +2,13 @@
2
2
 
3
3
  ## run
4
4
  1. do the changes in the `*.ts` files
5
- 2. synth the project
6
- ```bash
7
- npm run prepare-integ-test
8
- ```
9
- 3. from the root of the project run
5
+ 2. from the root of the project run
10
6
  ```bash
7
+ # run the dry-run to see changes if they are destructive
8
+ npm run integ-test -- --dry-run
9
+ # NOTE: undo the changes in the integ.snapshot so the next call
10
+ # will really run the tests with the update
11
+ # run the tests
11
12
  npm run integ-test
12
13
  ```
13
14
  ## clean up manually
@@ -19,11 +20,11 @@ source venv/bin/activate
19
20
  pip3 install -r requirements.tx
20
21
 
21
22
  # determine bucket name
22
- aws s3 ls | grep rootmailteststack
23
+ aws s3 ls | grep rootmailinteg
23
24
  # empty and remove the bucket
24
- python3 cleanup/empty-and-delete-s3-bucket.py rootmailteststack-testrootmailemailbucket<suffix>
25
- # remove the log groups. generic or more specific with 'RootmailTestStack' and 'SetupTest'
26
- python3 cleanup/delete-log-groups.py Test
25
+ python3 cleanup/empty-and-delete-s3-bucket.py rootmailintegteststack-testrootmailemailbucket<suffix>
26
+ # remove the log groups. generic or more specific with 'rootmailinteg' and 'SetupTest'
27
+ python3 cleanup/delete-log-groups.py IntegTest eu-west-2
27
28
 
28
29
  # when your done deactive the virtual env via
29
30
  # see https://stackoverflow.com/questions/990754/how-to-leave-exit-deactivate-a-python-virtualenv
@@ -1,9 +1,10 @@
1
1
  import boto3
2
+ import os
2
3
  import sys
3
4
 
4
- def delele_log_groups(pattern):
5
- # log clien in eu-west-1 region
6
- logs = boto3.client('logs', region_name='eu-west-1')
5
+ def delele_log_groups(pattern, aws_region):
6
+ # from env AWS_REGION
7
+ logs = boto3.client('logs', region_name=aws_region)
7
8
  paginator = logs.get_paginator('describe_log_groups')
8
9
  for page in paginator.paginate():
9
10
  for log_group in page['logGroups']:
@@ -13,9 +14,11 @@ def delele_log_groups(pattern):
13
14
  print(f"Log group {log_group['logGroupName']} deleted")
14
15
 
15
16
  if __name__ == '__main__':
16
- if len(sys.argv) < 2:
17
- print("Please a pattern of the log group name as a parameter.")
17
+ if len(sys.argv) < 3:
18
+ print("Please a pattern of the log group name as 1st parameter AND the aws region as 2nd.")
18
19
  sys.exit(1)
19
20
 
20
21
  pattern = sys.argv[1]
21
- delele_log_groups(pattern)
22
+ aws_region = sys.argv[2]
23
+ delele_log_groups(pattern, aws_region)
24
+
@@ -103,10 +103,11 @@ export const handler = async (event: any) => {
103
103
  const opsItemSource = opsItemContent.Source;
104
104
  const opsItemDescription = opsItemContent.Description;
105
105
 
106
+ // as truncate the title and source to 1020 and 60 characters
106
107
  if (
107
- opsItemTitle !== title ||
108
- opsItemSource !== source ||
109
- opsItemDescription !== description
108
+ opsItemTitle !== title.substring(0, 1020) + (title.length > 1020 ? ' ...' : '') ||
109
+ opsItemSource !== source.substring(0, 60) + (source.length > 60 ? ' ...' : ''),
110
+ opsItemDescription !== description.substring(0, 1020) + (description.length > 1020 ? ' ...' : '')
110
111
  ) {
111
112
  log({
112
113
  message: 'OpsItem did not match',
@@ -21,8 +21,9 @@ const stackUnderTest = new Stack(app, stackUnderTestName, {
21
21
 
22
22
  const testDomain = 'rootmail-test.mavogel.xyz';
23
23
  const hostedZoneId = 'Z066250529JROZU7IIY3Q';
24
- const randomTestId = 'a647df97';
25
- const testSubdomain = `${randomTestId}`;
24
+ const randomTestId = 'b647df97';
25
+ const testSubdomain = `${randomTestId}-${Stack.of(stackUnderTest).region}`;
26
+ const fullDomain = `${testSubdomain}.${testDomain}`;
26
27
 
27
28
  const rootmail = new Rootmail(stackUnderTest, 'testRootmail', {
28
29
  domain: testDomain,
@@ -33,7 +34,6 @@ const rootmail = new Rootmail(stackUnderTest, 'testRootmail', {
33
34
  setDestroyPolicyToAllResources: false,
34
35
  });
35
36
 
36
- const fullDomain = `${testSubdomain}.${testDomain}`;
37
37
 
38
38
  // Initialize Integ Test construct
39
39
  const integStackName = 'SetupTestIntegStack';
@@ -49,7 +49,7 @@ const integ = new IntegTest(app, integStackName, {
49
49
  hooks: {
50
50
  postDestroy: [
51
51
  'echo "Post hook"',
52
- // TOOD: needs to be verified
52
+ // NOTE: as I do not see the hook called, we need to delete manually
53
53
  // `echo "Deleting S3 bucket '${rootmail.emailBucket.bucketName}'`,
54
54
  // `python3 cleanup/empty-and-delete-s3-bucket.py ${rootmail.emailBucket.bucketName}`,
55
55
  ],
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "version": "33.0.0",
3
3
  "files": {
4
- "0d7c7a7383bd188507edd1418c134d29b0792efd1ccbba0da75311002020e65d": {
4
+ "78feee95e82ef361d9d27f66f2b9be1a91ff5ec2afcb2e1f35f121aa3f902c1a": {
5
5
  "source": {
6
- "path": "asset.0d7c7a7383bd188507edd1418c134d29b0792efd1ccbba0da75311002020e65d",
6
+ "path": "asset.78feee95e82ef361d9d27f66f2b9be1a91ff5ec2afcb2e1f35f121aa3f902c1a",
7
7
  "packaging": "zip"
8
8
  },
9
9
  "destinations": {
10
10
  "current_account-current_region": {
11
11
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12
- "objectKey": "0d7c7a7383bd188507edd1418c134d29b0792efd1ccbba0da75311002020e65d.zip",
12
+ "objectKey": "78feee95e82ef361d9d27f66f2b9be1a91ff5ec2afcb2e1f35f121aa3f902c1a.zip",
13
13
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
14
14
  }
15
15
  }
@@ -40,41 +40,41 @@
40
40
  }
41
41
  }
42
42
  },
43
- "fb84360f7467923a0658a669f4d3ee04bf136a74f97d873be2abadb4bcab711e": {
43
+ "d4cadbcd34a7190b2e8cdb99918ac4dfb6f159dc7329660db6940bbcca3ec8f2": {
44
44
  "source": {
45
- "path": "asset.fb84360f7467923a0658a669f4d3ee04bf136a74f97d873be2abadb4bcab711e",
45
+ "path": "asset.d4cadbcd34a7190b2e8cdb99918ac4dfb6f159dc7329660db6940bbcca3ec8f2",
46
46
  "packaging": "zip"
47
47
  },
48
48
  "destinations": {
49
49
  "current_account-current_region": {
50
50
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
51
- "objectKey": "fb84360f7467923a0658a669f4d3ee04bf136a74f97d873be2abadb4bcab711e.zip",
51
+ "objectKey": "d4cadbcd34a7190b2e8cdb99918ac4dfb6f159dc7329660db6940bbcca3ec8f2.zip",
52
52
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
53
53
  }
54
54
  }
55
55
  },
56
- "b98430399e05a4d6daed4e2d6cec716645bf79ac334561c2f38b9efede570e23": {
56
+ "40792594eb6b226b515b669e95c0687ecc740adf225fdb9ad2841b217c070f76": {
57
57
  "source": {
58
- "path": "asset.b98430399e05a4d6daed4e2d6cec716645bf79ac334561c2f38b9efede570e23",
58
+ "path": "asset.40792594eb6b226b515b669e95c0687ecc740adf225fdb9ad2841b217c070f76",
59
59
  "packaging": "zip"
60
60
  },
61
61
  "destinations": {
62
62
  "current_account-current_region": {
63
63
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
64
- "objectKey": "b98430399e05a4d6daed4e2d6cec716645bf79ac334561c2f38b9efede570e23.zip",
64
+ "objectKey": "40792594eb6b226b515b669e95c0687ecc740adf225fdb9ad2841b217c070f76.zip",
65
65
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
66
66
  }
67
67
  }
68
68
  },
69
- "33ac6a02ced9e72a70fce1b803f62512c513a125854f78cb153829678f6990c3": {
69
+ "bc282d8aa82302eec594bc3f486c7c5a52ed8a5335b728970760e8b68e201037": {
70
70
  "source": {
71
- "path": "asset.33ac6a02ced9e72a70fce1b803f62512c513a125854f78cb153829678f6990c3",
71
+ "path": "asset.bc282d8aa82302eec594bc3f486c7c5a52ed8a5335b728970760e8b68e201037",
72
72
  "packaging": "zip"
73
73
  },
74
74
  "destinations": {
75
75
  "current_account-current_region": {
76
76
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
77
- "objectKey": "33ac6a02ced9e72a70fce1b803f62512c513a125854f78cb153829678f6990c3.zip",
77
+ "objectKey": "bc282d8aa82302eec594bc3f486c7c5a52ed8a5335b728970760e8b68e201037.zip",
78
78
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
79
79
  }
80
80
  }
@@ -92,72 +92,72 @@
92
92
  }
93
93
  }
94
94
  },
95
- "93f248c0d906f32e25d0bd38725b66ad57f9261397088e15966d26fea87d2de0": {
95
+ "d743f551cbc5887508238844bf8235dc31c07ccbdfafcabc0d920397a26502c3": {
96
96
  "source": {
97
- "path": "asset.93f248c0d906f32e25d0bd38725b66ad57f9261397088e15966d26fea87d2de0",
97
+ "path": "asset.d743f551cbc5887508238844bf8235dc31c07ccbdfafcabc0d920397a26502c3",
98
98
  "packaging": "zip"
99
99
  },
100
100
  "destinations": {
101
101
  "current_account-current_region": {
102
102
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
103
- "objectKey": "93f248c0d906f32e25d0bd38725b66ad57f9261397088e15966d26fea87d2de0.zip",
103
+ "objectKey": "d743f551cbc5887508238844bf8235dc31c07ccbdfafcabc0d920397a26502c3.zip",
104
104
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
105
105
  }
106
106
  }
107
107
  },
108
- "bdbd19752d7324326841494d68ece6350ceb3a5e56735547d431ef5bfe0a3199": {
108
+ "ff373a1476ac715751c8365e785fb10df2d9314294bdae4cf52dbbe3d1f3daa8": {
109
109
  "source": {
110
- "path": "asset.bdbd19752d7324326841494d68ece6350ceb3a5e56735547d431ef5bfe0a3199",
110
+ "path": "asset.ff373a1476ac715751c8365e785fb10df2d9314294bdae4cf52dbbe3d1f3daa8",
111
111
  "packaging": "zip"
112
112
  },
113
113
  "destinations": {
114
114
  "current_account-current_region": {
115
115
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
116
- "objectKey": "bdbd19752d7324326841494d68ece6350ceb3a5e56735547d431ef5bfe0a3199.zip",
116
+ "objectKey": "ff373a1476ac715751c8365e785fb10df2d9314294bdae4cf52dbbe3d1f3daa8.zip",
117
117
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
118
118
  }
119
119
  }
120
120
  },
121
- "61fab78d8315be84fb5ddcd593f0411773aaf262b84ec59f2dcab0568de73698": {
121
+ "bdddcd5dc9deea1e8548896bbc66f3c77095a83cf03dce262f1021dc5084b434": {
122
122
  "source": {
123
- "path": "asset.61fab78d8315be84fb5ddcd593f0411773aaf262b84ec59f2dcab0568de73698",
123
+ "path": "asset.bdddcd5dc9deea1e8548896bbc66f3c77095a83cf03dce262f1021dc5084b434",
124
124
  "packaging": "zip"
125
125
  },
126
126
  "destinations": {
127
127
  "current_account-current_region": {
128
128
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
129
- "objectKey": "61fab78d8315be84fb5ddcd593f0411773aaf262b84ec59f2dcab0568de73698.zip",
129
+ "objectKey": "bdddcd5dc9deea1e8548896bbc66f3c77095a83cf03dce262f1021dc5084b434.zip",
130
130
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
131
131
  }
132
132
  }
133
133
  },
134
- "2622827c68651f3e047bc6c261ad6d8e213a1a2ff80d570d1a757746c25787f4": {
134
+ "e1af3b308bce8549a83727689853cc1bcc322a2f2f99bab1417667050c14792b": {
135
135
  "source": {
136
- "path": "asset.2622827c68651f3e047bc6c261ad6d8e213a1a2ff80d570d1a757746c25787f4",
136
+ "path": "asset.e1af3b308bce8549a83727689853cc1bcc322a2f2f99bab1417667050c14792b",
137
137
  "packaging": "zip"
138
138
  },
139
139
  "destinations": {
140
140
  "current_account-current_region": {
141
141
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
142
- "objectKey": "2622827c68651f3e047bc6c261ad6d8e213a1a2ff80d570d1a757746c25787f4.zip",
142
+ "objectKey": "e1af3b308bce8549a83727689853cc1bcc322a2f2f99bab1417667050c14792b.zip",
143
143
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
144
144
  }
145
145
  }
146
146
  },
147
- "54be26a6d7b1da3c05a111d3350351623166b8de03c9edb60405509800b9547b": {
147
+ "398c1494ee7aa450b48095240fc626fdac5a8ea4662a27b64162e61949c6f3b9": {
148
148
  "source": {
149
- "path": "asset.54be26a6d7b1da3c05a111d3350351623166b8de03c9edb60405509800b9547b",
149
+ "path": "asset.398c1494ee7aa450b48095240fc626fdac5a8ea4662a27b64162e61949c6f3b9",
150
150
  "packaging": "zip"
151
151
  },
152
152
  "destinations": {
153
153
  "current_account-current_region": {
154
154
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
155
- "objectKey": "54be26a6d7b1da3c05a111d3350351623166b8de03c9edb60405509800b9547b.zip",
155
+ "objectKey": "398c1494ee7aa450b48095240fc626fdac5a8ea4662a27b64162e61949c6f3b9.zip",
156
156
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
157
157
  }
158
158
  }
159
159
  },
160
- "dc98763f50b912676ad8fecdaebaa8ea36ba82d87ff9d34be32c465c80bf0f85": {
160
+ "23deaf32f02b5e76e1c9715996f51cb43ec9be3dc0798c7f18751664b0b43ff8": {
161
161
  "source": {
162
162
  "path": "RootmailIntegTestStack.template.json",
163
163
  "packaging": "file"
@@ -165,7 +165,7 @@
165
165
  "destinations": {
166
166
  "current_account-current_region": {
167
167
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
168
- "objectKey": "dc98763f50b912676ad8fecdaebaa8ea36ba82d87ff9d34be32c465c80bf0f85.json",
168
+ "objectKey": "23deaf32f02b5e76e1c9715996f51cb43ec9be3dc0798c7f18751664b0b43ff8.json",
169
169
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
170
170
  }
171
171
  }
@@ -91,7 +91,18 @@
91
91
  "testRootmailHostedZone6DFD3C9C": {
92
92
  "Type": "AWS::Route53::HostedZone",
93
93
  "Properties": {
94
- "Name": "a647df97.rootmail-test.mavogel.xyz."
94
+ "Name": {
95
+ "Fn::Join": [
96
+ "",
97
+ [
98
+ "b647df97-",
99
+ {
100
+ "Ref": "AWS::Region"
101
+ },
102
+ ".rootmail-test.mavogel.xyz."
103
+ ]
104
+ ]
105
+ }
95
106
  }
96
107
  },
97
108
  "testRootmailHostedZoneSSMParameter574DA41C": {
@@ -121,7 +132,18 @@
121
132
  "Arn"
122
133
  ]
123
134
  },
124
- "Domain": "a647df97.rootmail-test.mavogel.xyz"
135
+ "Domain": {
136
+ "Fn::Join": [
137
+ "",
138
+ [
139
+ "b647df97-",
140
+ {
141
+ "Ref": "AWS::Region"
142
+ },
143
+ ".rootmail-test.mavogel.xyz"
144
+ ]
145
+ ]
146
+ }
125
147
  },
126
148
  "UpdateReplacePolicy": "Delete",
127
149
  "DeletionPolicy": "Delete"
@@ -147,7 +169,11 @@
147
169
  }
148
170
  ]
149
171
  },
150
- "._domainkey.a647df97.rootmail-test.mavogel.xyz."
172
+ "._domainkey.b647df97-",
173
+ {
174
+ "Ref": "AWS::Region"
175
+ },
176
+ ".rootmail-test.mavogel.xyz."
151
177
  ]
152
178
  ]
153
179
  },
@@ -197,7 +223,11 @@
197
223
  }
198
224
  ]
199
225
  },
200
- "._domainkey.a647df97.rootmail-test.mavogel.xyz."
226
+ "._domainkey.b647df97-",
227
+ {
228
+ "Ref": "AWS::Region"
229
+ },
230
+ ".rootmail-test.mavogel.xyz."
201
231
  ]
202
232
  ]
203
233
  },
@@ -247,7 +277,11 @@
247
277
  }
248
278
  ]
249
279
  },
250
- "._domainkey.a647df97.rootmail-test.mavogel.xyz."
280
+ "._domainkey.b647df97-",
281
+ {
282
+ "Ref": "AWS::Region"
283
+ },
284
+ ".rootmail-test.mavogel.xyz."
251
285
  ]
252
286
  ]
253
287
  },
@@ -282,7 +316,18 @@
282
316
  "HostedZoneId": {
283
317
  "Ref": "testRootmailHostedZone6DFD3C9C"
284
318
  },
285
- "Name": "a647df97.rootmail-test.mavogel.xyz.",
319
+ "Name": {
320
+ "Fn::Join": [
321
+ "",
322
+ [
323
+ "b647df97-",
324
+ {
325
+ "Ref": "AWS::Region"
326
+ },
327
+ ".rootmail-test.mavogel.xyz."
328
+ ]
329
+ ]
330
+ },
286
331
  "ResourceRecords": [
287
332
  {
288
333
  "Fn::Join": [
@@ -307,7 +352,18 @@
307
352
  "HostedZoneId": {
308
353
  "Ref": "testRootmailHostedZone6DFD3C9C"
309
354
  },
310
- "Name": "_amazonses.a647df97.rootmail-test.mavogel.xyz.",
355
+ "Name": {
356
+ "Fn::Join": [
357
+ "",
358
+ [
359
+ "_amazonses.b647df97-",
360
+ {
361
+ "Ref": "AWS::Region"
362
+ },
363
+ ".rootmail-test.mavogel.xyz."
364
+ ]
365
+ ]
366
+ },
311
367
  "ResourceRecords": [
312
368
  {
313
369
  "Fn::Join": [
@@ -347,7 +403,17 @@
347
403
  ]
348
404
  },
349
405
  "Domain": "rootmail-test.mavogel.xyz",
350
- "Subdomain": "a647df97",
406
+ "Subdomain": {
407
+ "Fn::Join": [
408
+ "",
409
+ [
410
+ "b647df97-",
411
+ {
412
+ "Ref": "AWS::Region"
413
+ }
414
+ ]
415
+ ]
416
+ },
351
417
  "ParentHostedZoneId": "Z066250529JROZU7IIY3Q",
352
418
  "HostedZoneParameterName": {
353
419
  "Ref": "testRootmailHostedZoneSSMParameter574DA41C"
@@ -368,7 +434,18 @@
368
434
  "Arn"
369
435
  ]
370
436
  },
371
- "Domain": "a647df97.rootmail-test.mavogel.xyz"
437
+ "Domain": {
438
+ "Fn::Join": [
439
+ "",
440
+ [
441
+ "b647df97-",
442
+ {
443
+ "Ref": "AWS::Region"
444
+ },
445
+ ".rootmail-test.mavogel.xyz"
446
+ ]
447
+ ]
448
+ }
372
449
  },
373
450
  "UpdateReplacePolicy": "Delete",
374
451
  "DeletionPolicy": "Delete"
@@ -482,7 +559,7 @@
482
559
  "S3Bucket": {
483
560
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
484
561
  },
485
- "S3Key": "93f248c0d906f32e25d0bd38725b66ad57f9261397088e15966d26fea87d2de0.zip"
562
+ "S3Key": "d743f551cbc5887508238844bf8235dc31c07ccbdfafcabc0d920397a26502c3.zip"
486
563
  },
487
564
  "Environment": {
488
565
  "Variables": {
@@ -564,7 +641,17 @@
564
641
  ]
565
642
  },
566
643
  "Domain": "rootmail-test.mavogel.xyz",
567
- "Subdomain": "a647df97",
644
+ "Subdomain": {
645
+ "Fn::Join": [
646
+ "",
647
+ [
648
+ "b647df97-",
649
+ {
650
+ "Ref": "AWS::Region"
651
+ }
652
+ ]
653
+ ]
654
+ },
568
655
  "EmailBucketName": {
569
656
  "Ref": "testRootmailEmailBucket2A470446"
570
657
  },
@@ -669,7 +756,7 @@
669
756
  "S3Bucket": {
670
757
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
671
758
  },
672
- "S3Key": "0d7c7a7383bd188507edd1418c134d29b0792efd1ccbba0da75311002020e65d.zip"
759
+ "S3Key": "78feee95e82ef361d9d27f66f2b9be1a91ff5ec2afcb2e1f35f121aa3f902c1a.zip"
673
760
  },
674
761
  "Environment": {
675
762
  "Variables": {
@@ -1129,7 +1216,7 @@
1129
1216
  "S3Bucket": {
1130
1217
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
1131
1218
  },
1132
- "S3Key": "fb84360f7467923a0658a669f4d3ee04bf136a74f97d873be2abadb4bcab711e.zip"
1219
+ "S3Key": "d4cadbcd34a7190b2e8cdb99918ac4dfb6f159dc7329660db6940bbcca3ec8f2.zip"
1133
1220
  },
1134
1221
  "Environment": {
1135
1222
  "Variables": {
@@ -1331,7 +1418,7 @@
1331
1418
  "S3Bucket": {
1332
1419
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
1333
1420
  },
1334
- "S3Key": "b98430399e05a4d6daed4e2d6cec716645bf79ac334561c2f38b9efede570e23.zip"
1421
+ "S3Key": "40792594eb6b226b515b669e95c0687ecc740adf225fdb9ad2841b217c070f76.zip"
1335
1422
  },
1336
1423
  "Environment": {
1337
1424
  "Variables": {
@@ -2028,7 +2115,7 @@
2028
2115
  "Fn::Join": [
2029
2116
  "",
2030
2117
  [
2031
- "{\"StartAt\":\"framework-isComplete-task\",\"States\":{\"framework-isComplete-task\":{\"End\":true,\"Retry\":[{\"ErrorEquals\":[\"States.ALL\"],\"IntervalSeconds\":5,\"MaxAttempts\":240,\"BackoffRate\":1}],\"Catch\":[{\"ErrorEquals\":[\"States.ALL\"],\"Next\":\"framework-onTimeout-task\"}],\"Type\":\"Task\",\"Resource\":\"",
2118
+ "{\"StartAt\":\"framework-isComplete-task\",\"States\":{\"framework-isComplete-task\":{\"End\":true,\"Retry\":[{\"ErrorEquals\":[\"States.ALL\"],\"IntervalSeconds\":5,\"MaxAttempts\":1440,\"BackoffRate\":1}],\"Catch\":[{\"ErrorEquals\":[\"States.ALL\"],\"Next\":\"framework-onTimeout-task\"}],\"Type\":\"Task\",\"Resource\":\"",
2032
2119
  {
2033
2120
  "Fn::GetAtt": [
2034
2121
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteC48DABD2",
@@ -2164,7 +2251,7 @@
2164
2251
  "S3Bucket": {
2165
2252
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
2166
2253
  },
2167
- "S3Key": "33ac6a02ced9e72a70fce1b803f62512c513a125854f78cb153829678f6990c3.zip"
2254
+ "S3Key": "bc282d8aa82302eec594bc3f486c7c5a52ed8a5335b728970760e8b68e201037.zip"
2168
2255
  },
2169
2256
  "Environment": {
2170
2257
  "Variables": {
@@ -3150,7 +3237,7 @@
3150
3237
  "S3Bucket": {
3151
3238
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
3152
3239
  },
3153
- "S3Key": "bdbd19752d7324326841494d68ece6350ceb3a5e56735547d431ef5bfe0a3199.zip"
3240
+ "S3Key": "ff373a1476ac715751c8365e785fb10df2d9314294bdae4cf52dbbe3d1f3daa8.zip"
3154
3241
  },
3155
3242
  "Environment": {
3156
3243
  "Variables": {
@@ -3335,7 +3422,7 @@
3335
3422
  "S3Bucket": {
3336
3423
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
3337
3424
  },
3338
- "S3Key": "61fab78d8315be84fb5ddcd593f0411773aaf262b84ec59f2dcab0568de73698.zip"
3425
+ "S3Key": "bdddcd5dc9deea1e8548896bbc66f3c77095a83cf03dce262f1021dc5084b434.zip"
3339
3426
  },
3340
3427
  "Environment": {
3341
3428
  "Variables": {
@@ -4277,7 +4364,7 @@
4277
4364
  "S3Bucket": {
4278
4365
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
4279
4366
  },
4280
- "S3Key": "2622827c68651f3e047bc6c261ad6d8e213a1a2ff80d570d1a757746c25787f4.zip"
4367
+ "S3Key": "e1af3b308bce8549a83727689853cc1bcc322a2f2f99bab1417667050c14792b.zip"
4281
4368
  },
4282
4369
  "Environment": {
4283
4370
  "Variables": {
@@ -4384,7 +4471,7 @@
4384
4471
  "S3Bucket": {
4385
4472
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
4386
4473
  },
4387
- "S3Key": "54be26a6d7b1da3c05a111d3350351623166b8de03c9edb60405509800b9547b.zip"
4474
+ "S3Key": "398c1494ee7aa450b48095240fc626fdac5a8ea4662a27b64162e61949c6f3b9.zip"
4388
4475
  },
4389
4476
  "Environment": {
4390
4477
  "Variables": {
@@ -14,7 +14,7 @@
14
14
  }
15
15
  }
16
16
  },
17
- "8c454bcd219a50d03b6f4ddbca0e0504f7ce62ee91a0eaca415a678f8db55ace": {
17
+ "e30ebc6bafa481babf9370bba4b7208806a40521a1cbeb936b7ab4250ca7b46f": {
18
18
  "source": {
19
19
  "path": "SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.template.json",
20
20
  "packaging": "file"
@@ -22,7 +22,7 @@
22
22
  "destinations": {
23
23
  "current_account-current_region": {
24
24
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
25
- "objectKey": "8c454bcd219a50d03b6f4ddbca0e0504f7ce62ee91a0eaca415a678f8db55ace.json",
25
+ "objectKey": "e30ebc6bafa481babf9370bba4b7208806a40521a1cbeb936b7ab4250ca7b46f.json",
26
26
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
27
27
  }
28
28
  }