-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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: eventgrid_domain data source, test, docs #13033
add: eventgrid_domain data source, test, docs #13033
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 the pr @Hjortsberg - overall looks good and i've left some comments inline and the linters have called out the schema changes required
return fmt.Errorf("making Read request on EventGrid Domain '%s': %+v", name, err) | ||
} | ||
|
||
d.SetId(*resp.ID) |
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.
we should be nil checking ID here
type EventGridDomainDataSource struct { | ||
} | ||
|
||
func TestAccEventGridDomainDataSource_basic(t *testing.T) { |
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.
we can probably remove the other tests, usually we just have a single data source test
@Hjortsberg since we haven't heard anything back yet i'm going to jump in here and finish up this PR so that your work can be merged and released to the community. |
@stephybun, sorry for the lack of replies from me. I greatly appreciate the contribution here, thank you. |
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 @Hjortsberg & @stephybun - LGTM 🍰
This functionality has been released in v2.76.0 of the Terraform 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 contributions. |
This is a proposal to fix #13008.
The implementation is untested.
This is my first PR to this repo, please be constructive in the feedback so that I can improve. :)