Skip to content

Commit e44b5bb

Browse files
committed
test: AAAA domain record creation
1 parent a21bdb7 commit e44b5bb

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

packages/cdkConstructs/tests/constructs/RestApiGateway.test.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,19 @@ describe("RestApiGateway without mTLS", () => {
156156
})
157157
})
158158

159+
test("creates Route53 AAAA record", () => {
160+
template.hasResourceProperties("AWS::Route53::RecordSet", {
161+
Name: {
162+
"Fn::Join": ["", [
163+
"test-stack.",
164+
{"Fn::ImportValue": "eps-route53-resources:EPS-domain"},
165+
"."
166+
]]
167+
},
168+
Type: "AAAA"
169+
})
170+
})
171+
159172
test("sets guard metadata on stage", () => {
160173
const stages = template.findResources("AWS::ApiGateway::Stage")
161174
const stageKeys = Object.keys(stages)

0 commit comments

Comments
 (0)