Created
July 18, 2021 08:53
-
-
Save markilott/e1fc6af94906471d1c7e29424da6d6d0 to your computer and use it in GitHub Desktop.
ALB Target Group for Fargate Services
This file contains 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
// Target Group. Fargate stack will add services to this group | |
new ApplicationTargetGroup(this, 'fargateTargetGroup', { | |
vpc, | |
port, | |
// IP target type is required for Fargate services - it must be specified here if attaching services in other stacks | |
targetType: TargetType.IP, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment