Created
February 23, 2021 05:52
-
-
Save axelhodler/7bad33e660f458317f0574a1ca4a6583 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test('Fargate service is using the default values', () => { | |
const app = new cdk.App(); | |
const stack = new Cdktests.CdktestsStack(app, 'MyTestStack'); | |
expectCDK(stack).to(haveResource("AWS::ECS::Service",{ | |
LaunchType: 'FARGATE', | |
DesiredCount: 1, | |
HealthCheckGracePeriodSeconds: 60 | |
})); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment