-
Notifications
You must be signed in to change notification settings - Fork 280
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
Create datasource azuredevops_serviceendpoint_github, add common func… #627
Create datasource azuredevops_serviceendpoint_github, add common func… #627
Conversation
…tions to create datasource schemas, fix documentation
TF_ACC=1 go test -tags "all" $(go list ./azuredevops/internal/acceptancetests |grep -v 'vendor') -v -run=TestAccServiceEndpointGitHub_with_serviceEndpointName_DataSource -timeout 120m
=== RUN TestAccServiceEndpointGitHub_with_serviceEndpointName_DataSource
=== PAUSE TestAccServiceEndpointGitHub_with_serviceEndpointName_DataSource
=== CONT TestAccServiceEndpointGitHub_with_serviceEndpointName_DataSource
--- PASS: TestAccServiceEndpointGitHub_with_serviceEndpointName_DataSource (61.09s)
PASS
ok github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/acceptancetests 61.205s
TF_ACC=1 go test -tags "all" $(go list ./azuredevops/internal/acceptancetests |grep -v 'vendor') -v -run=TestAccServiceEndpointGitHub_with_serviceEndpointID_DataSource -timeout 120m
=== RUN TestAccServiceEndpointGitHub_with_serviceEndpointID_DataSource
=== PAUSE TestAccServiceEndpointGitHub_with_serviceEndpointID_DataSource
=== CONT TestAccServiceEndpointGitHub_with_serviceEndpointID_DataSource
--- PASS: TestAccServiceEndpointGitHub_with_serviceEndpointID_DataSource (51.51s)
PASS
ok github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/acceptancetests 51.625s |
Hello @xuzhang3, Hope you are well. Cheers! |
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.
@a30004053 thanks for your contribute. A few change requested, others look good to me.
Hello @xuzhang3, If it all looks okay from your end, can this PR be merged? Thanks in advance! |
@a30004053 LGTM |
…tions to create datasource schemas, fix documentation
All Submissions:
What about the current behavior has changed?
This PR adds a new data source
azuredevops_serviceendpoint_github
which returns details of a GitHub service endpoint defined by anid
or a uniqueservice_endpoint_name
Issue Number: #608
Does this introduce a change to
go.mod
,go.sum
orvendor/
?Does this introduce a breaking change?
Any relevant logs, error output, etc?
https://pst.klgrth.io/paste/4t6et
Other information
Additional functions are added to
azuredevops/internal/service/serviceendpoint/commons.go
to support common dataSource schemas and serviceendpoint lookup functionsModifications were made to
azuredevops_serviceendpoint_azurerm
datasource as a result of the aforementioned additions tocommons.go