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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

It would be nice to have aws_globalaccelerator_listener data source #23104

Open
dmnfortytwo opened this issue Feb 10, 2022 · 5 comments
Open
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-data-source Introduces a new data source. service/globalaccelerator Issues and PRs that pertain to the globalaccelerator service.

Comments

@dmnfortytwo
Copy link

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

It would be nice to have aws_globalaccelerator_listener data source. It will allow to add LB's to Global Accelerator described in another module.

New or Affected Resource(s)

  • aws_globalaccelerator_listener

Potential Terraform Configuration

# Looks a bit weird :( No idea if there's better option to select listener
data "aws_globalaccelerator_listener" "reader" {
  globalaccelerator_accelerator_name = "reader"
  protocol = "TCP"
  port_range_from = "443"
  port_range_to = "443"
}

resource "aws_globalaccelerator_endpoint_group" "read" {
  listener_arn = data.aws_globalaccelerator_listener.reader.id

  endpoint_configuration {
    endpoint_id = aws_lb.read.arn
    weight      = 100
 }
}

References

@dmnfortytwo dmnfortytwo added the enhancement Requests to existing resources that expand the functionality or scope. label Feb 10, 2022
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/globalaccelerator Issues and PRs that pertain to the globalaccelerator service. labels Feb 10, 2022
@ewbankkit ewbankkit added new-data-source Introduces a new data source. and removed needs-triage Waiting for first response or review from a maintainer. labels Feb 11, 2022
@Nitin052
Copy link

Hi @ewbankkit I want to work on issue .So can I pick up this issue?

@danquack
Copy link
Contributor

@vchepkov
Copy link

vchepkov commented Dec 7, 2023

@Nitin052 , any luck?

@LCaparelli
Copy link

LCaparelli commented Jan 2, 2024

Hey, we need this as well! I'd like to work on it.

I'll assign this to myself since nobody else did so far, but if you're already working on this please let me know.

EDIT: huh, I can't assign this to myself. If someone with permissions comes across this... 馃檹

@asininemonkey
Copy link

This is very much required. Especially in terramate configurations where a reliance on data sources is far greater.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-data-source Introduces a new data source. service/globalaccelerator Issues and PRs that pertain to the globalaccelerator service.
Projects
None yet
Development

No branches or pull requests

7 participants