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

arn attribute for aws_elb ? #5406

Closed
JoeOrtiz opened this issue Mar 2, 2016 · 6 comments
Closed

arn attribute for aws_elb ? #5406

JoeOrtiz opened this issue Mar 2, 2016 · 6 comments

Comments

@JoeOrtiz
Copy link

JoeOrtiz commented Mar 2, 2016

I couldn't see it, but what would be one way to expose the ARN attribute for an aws_elb resource ?

@stack72
Copy link
Contributor

stack72 commented Mar 2, 2016

@JoeOrtiz, just opened this PR #5411 that addresses it

@stack72
Copy link
Contributor

stack72 commented Apr 27, 2016

Hi @JoeOrtiz

Circling back on this to try and close off some older issues - what do you need to use the ELB ARN for?

P.

@stack72
Copy link
Contributor

stack72 commented May 5, 2016

I am going to close this off - AFAICT I can't see anywhere where the use of ARN for ELB is used. If it were the case, AWS would expose the functionality. If you have a specific usecase then let me know and we can reopen

Thanks

Paul

@stack72 stack72 closed this as completed May 5, 2016
@gustav-b
Copy link

gustav-b commented Dec 13, 2016

@stack72, Possible use case: Writing an aws_iam_user_policy or aws_iam_role_policy targeting the ELB. For example when creating a policy for dynamic ELB registration.

One could of course reference the resource like "arn:aws:elasticloadbalancing:${var.aws_region}:${var.aws_account_id}:loadbalancer/${aws_elb.foo.id}", but "${aws_elb.foo.arn}" would be preferable.

@tomelliff
Copy link
Contributor

@stack72 we have the same use case as @gustav-b where we would prefer to use an outputted ARN from the ELB directly instead of concatenate the id/name with other stuff.

Taking a look at things it looks like the elbv2 API exposes this but it was never exposed in the old elb API.

@ghost
Copy link

ghost commented Apr 15, 2020

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants