Skip to content

Commit b6d3d2a

Browse files
committed
Fix merge errors
1 parent 8af6731 commit b6d3d2a

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

packages/@aws-cdk/aws-ec2/test/test.bastion-host.ts

-33
Original file line numberDiff line numberDiff line change
@@ -78,39 +78,6 @@ export = {
7878
],
7979
}));
8080

81-
test.done();
82-
},
83-
'ebs volume is encrypted'(test: Test) {
84-
// GIVEN
85-
const stack = new Stack();
86-
const vpc = new Vpc(stack, 'VPC', {
87-
subnetConfiguration: [
88-
{
89-
subnetType: SubnetType.ISOLATED,
90-
name: 'Isolated',
91-
}
92-
]
93-
});
94-
95-
// WHEN
96-
new BastionHostLinux(stack, 'Bastion', {
97-
vpc,
98-
ebsVolumeEncryption: true
99-
});
100-
101-
// THEN
102-
expect(stack).to(haveResource('AWS::EC2::Instance', {
103-
'BlockDeviceMappings': [
104-
{
105-
'DeviceName': 'EBSBastionHost',
106-
'Ebs': {
107-
'Encrypted': true,
108-
'VolumeSize': 10
109-
}
110-
}
111-
]
112-
}));
113-
11481
test.done();
11582
},
11683
};

0 commit comments

Comments
 (0)