-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Find aws_lb by tags in data source #6458
Find aws_lb by tags in data source #6458
Conversation
@bflad Have a moment to take a look at this enhancement and give some feedback if this have a chance to be merged soon? Thanks in advance. |
@bflad Any chance to review and merge this? I would like to remove custom provider in our provision process. Thanks! |
@ewbankkit Hey, could you find time to review this? It would be a great simplification for our stack. |
any chance to resurrect this? this enhancement would be very useful |
Would love to see this get added! |
would also like to see this go in, now I have my k8s cluster create load balancers so I need to have a way to connect to terraform via tag only because the k8s creates lbs with wired names |
@mbyrdziak is there a chance to maybe fix the conflicts and find someone to approve it? |
@ofirshtrull you can use the kubernetes provider to get the load balancers, if waiting for this is holding you up. e.g.
|
thanks @wambozi but it dosnet help i tried this with data "kubernetes_ingress" "example" {
metadata {
name = "foo.bar.com"
namespace = "develop"
}
} but i am getting errors that it cannot find the ingress |
Hello, is there anything I can help with to get this merged? |
Any progress on it? |
@antonbabenko maybe you can help move this forward? |
I wish I can do anything related to the processing speed of the pull-request but I can't. |
@BrunoChauvet Any idea what is blocking this from being merged and moving forward? |
@gdavison Any idea what is blocking this from being merged and moving forward? Just noticed that @BrunoChauvet doesn't work at HashiCorp. |
c86fb76
to
0fde831
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
Commercial
% make testacc TESTARGS='-run=TestAccDataSourceAWSLB_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccDataSourceAWSLB_ -timeout 180m
=== RUN TestAccDataSourceAWSLB_basic
=== PAUSE TestAccDataSourceAWSLB_basic
=== RUN TestAccDataSourceAWSLB_outpost
=== PAUSE TestAccDataSourceAWSLB_outpost
=== RUN TestAccDataSourceAWSLB_BackwardsCompatibility
=== PAUSE TestAccDataSourceAWSLB_BackwardsCompatibility
=== CONT TestAccDataSourceAWSLB_basic
=== CONT TestAccDataSourceAWSLB_BackwardsCompatibility
=== CONT TestAccDataSourceAWSLB_outpost
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccDataSourceAWSLB_outpost (1.89s)
--- PASS: TestAccDataSourceAWSLB_basic (244.75s)
--- PASS: TestAccDataSourceAWSLB_BackwardsCompatibility (249.19s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 252.614s
GovCloud
% make testacc TESTARGS='-run=TestAccDataSourceAWSLB_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccDataSourceAWSLB_ -timeout 180m
=== RUN TestAccDataSourceAWSLB_basic
=== PAUSE TestAccDataSourceAWSLB_basic
=== RUN TestAccDataSourceAWSLB_outpost
=== PAUSE TestAccDataSourceAWSLB_outpost
=== RUN TestAccDataSourceAWSLB_BackwardsCompatibility
=== PAUSE TestAccDataSourceAWSLB_BackwardsCompatibility
=== CONT TestAccDataSourceAWSLB_basic
=== CONT TestAccDataSourceAWSLB_BackwardsCompatibility
=== CONT TestAccDataSourceAWSLB_outpost
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccDataSourceAWSLB_outpost (2.20s)
--- PASS: TestAccDataSourceAWSLB_BackwardsCompatibility (224.70s)
--- PASS: TestAccDataSourceAWSLB_basic (234.57s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 239.327s
@mbyrdziak Thanks for the contribution 🎉 👏. |
This functionality has been released in v3.52.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Closes #12265.
Changes proposed in this pull request:
Output from acceptance testing: