Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoadBalancerInfo validator unnecessary or incorrect? #2096

Closed
NeilJed opened this issue Nov 17, 2022 · 1 comment
Closed

LoadBalancerInfo validator unnecessary or incorrect? #2096

NeilJed opened this issue Nov 17, 2022 · 1 comment

Comments

@NeilJed
Copy link

NeilJed commented Nov 17, 2022

I've been making a LoadBalancerInfo resource and fallen foul of the validator when using a TargetGroupPairInfoList.

https://github.com/cloudtools/troposphere/blob/main/troposphere/codedeploy.py#L321

As far as I can tell from the LoadBalancerInfo class and AWS API Documentation, all three of the possible properties are optional yet the validator requires at least one of two of them to be used. Going on the documentation, I believe they are mutually exclusive.

Ref:

By disabling the validator I've been able to build my template and deployed it without any complaints or errors from Cloudformation and things work as expected.

@markpeek
Copy link
Member

Thanks for the issue. I'm guessing 'TargetGroupPairInfoList' needs to be added to this list in the validator. Can you give that a try?

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

No branches or pull requests

2 participants