-
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 arn attribute to aws_elb resource #2272
Conversation
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.
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.
aws/resource_aws_elb.go
Outdated
@@ -44,6 +45,12 @@ func resourceAwsElb() *schema.Resource { | |||
ValidateFunc: validateElbNamePrefix, | |||
}, | |||
|
|||
"arn": &schema.Schema{ | |||
Type: schema.TypeString, | |||
Optional: true, |
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.
Any particular reason why it should be optional? i.e. why would the user need to define it in the config?
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.
Ah sorry, delicious copypasta. It should probably always be just Computed.
Pushed update to remove |
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.
The mentioned/modified acceptance test is passing for me 👍
Thanks.
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! |
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.