-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add aws_alb_target_group data source (#764) #1037
Add aws_alb_target_group data source (#764) #1037
Conversation
|
Hi @aharin thanks for the work here - from your code, it seems like we should be setting Thoughts? Paul |
Hi @stack72 Indeed if arn is set, then it will be used, otherwise name is used. This is exactly the same behaviour as in dataSourceAwsAlb(). In fact I copied the code from there. Extra validation could be useful but then it should be done across the board in dataSourceAwsAlb() and other datasources that use the same logic. Perhaps as a separate issue? |
Hi @aharin Ok, that makes sense - this LGTM! Tests pass as expected:
Thanks for the work here Paul |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This PR adds aws_alb_target_group data source as requested in issue #764