Skip to content

Instantly share code, notes, and snippets.

@markilott
Created July 18, 2021 08:53
Show Gist options
  • Save markilott/e1fc6af94906471d1c7e29424da6d6d0 to your computer and use it in GitHub Desktop.
Save markilott/e1fc6af94906471d1c7e29424da6d6d0 to your computer and use it in GitHub Desktop.
ALB Target Group for Fargate Services
// 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