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

Add arn attribute to aws_elb resource #2272

Merged
merged 2 commits into from
Nov 15, 2017
Merged

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Nov 14, 2017

Not provided directly by DescribeLoadBalancers/DescribeLoadBalancerAttributes APIs, so built manually. References:

Closes #2123

I cannot run TestAccAWSELB_basic since the default VPC has been removed from my own AWS account, but these are similar changes as #2271.

Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for attaching the test and for mentioning the related issue in the right format, so we close it after merging, I appreciate it 👍

Just one question pending.

@@ -44,6 +45,12 @@ func resourceAwsElb() *schema.Resource {
ValidateFunc: validateElbNamePrefix,
},

"arn": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason why it should be optional? i.e. why would the user need to define it in the config?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry, delicious copypasta. It should probably always be just Computed.

@radeksimko radeksimko added enhancement Requests to existing resources that expand the functionality or scope. waiting-response Maintainers are waiting on response from community or contributor. size/S Managed by automation to categorize the size of a PR. labels Nov 15, 2017
@bflad
Copy link
Contributor Author

bflad commented Nov 15, 2017

Pushed update to remove Optional, which sounds like the right thing to do. 👍

@radeksimko radeksimko removed the waiting-response Maintainers are waiting on response from community or contributor. label Nov 15, 2017
Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mentioned/modified acceptance test is passing for me 👍

Thanks.

@radeksimko radeksimko merged commit 7960eea into hashicorp:master Nov 15, 2017
@ghost
Copy link

ghost commented Apr 10, 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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. size/S Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ARN attribute to aws_elb resource
2 participants