Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

ElasticLoadBalancingV2TargetGroup required properties #144

Open
sinnott74 opened this issue Aug 28, 2019 · 0 comments
Open

ElasticLoadBalancingV2TargetGroup required properties #144

sinnott74 opened this issue Aug 28, 2019 · 0 comments

Comments

@sinnott74
Copy link

Describe the bug
ElasticLoadBalancingV2-TargetGroup has required properties of Port, Protocol & VpcId. These are no longer required due to ALB + Lambda.

See If the target is a Lambda function, this parameter does not apply. in https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-port

To Reproduce
Steps to reproduce the behavior:

  1. Deploy an AWS::ElasticLoadBalancingV2::TargetGroup resource with a TargetType of lambda
  2. Error:
ValidationError: [/Resources/LoadBalancerDeleteTargetGroup/Type/Port] 'null' values are not allowed in templates

Expected behavior
A AWS::ElasticLoadBalancingV2::TargetGroup can be deployed with a Port, Protocol or VpcId specified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant