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 ACR service connection resource #119

Merged
merged 3 commits into from
Aug 3, 2020

Conversation

beandrad
Copy link
Contributor

So that an ACR service connection resource can be defined in
Terraform.

All Submissions:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My code follows the code style of this project.
  • I ran lint checks locally prior to submission.
  • Have you checked to ensure there aren't other open PRs for the same update/change?

What about the current behavior has changed?

Added azuredevops_serviceendpoint_azurecr, which allows to create an ACR service connection.

Issue Number: #33

Does this introduce a change to go.mod, go.sum or vendor/?

  • Yes
  • No

Does this introduce a breaking change?

  • Yes
  • No

Any relevant logs, error output, etc?

(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)

Other information

Copy link
Member

@EliiseS EliiseS left a comment

Choose a reason for hiding this comment

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

Looks great! Thank you so much for contributing. I've only got a few nitpicky comments :)

azuredevops/internal/acceptancetests/testutils/hcl.go Outdated Show resolved Hide resolved
azuredevops/internal/acceptancetests/testutils/hcl.go Outdated Show resolved Hide resolved
azuredevops/internal/acceptancetests/testutils/hcl.go Outdated Show resolved Hide resolved
# azure container registry service connection
resource "azuredevops_serviceendpoint_azurecr" "azurecr" {
project_id = azuredevops_project.project.id
service_endpoint_name = "Sample AzureCR"
Copy link
Member

Choose a reason for hiding this comment

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

Could you also format this terraform?

Copy link
Member

@EliiseS EliiseS Jul 31, 2020

Choose a reason for hiding this comment

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

I don't think this is formatted still
These have different indentation:

service_endpoint_name  = "Sample AzureCR"
  resource_group = "sample-rg"

@beandrad beandrad force-pushed the acr-service-endpoint branch 4 times, most recently from 349462a to be2f196 Compare July 31, 2020 14:32
So that an ACR service connection resource can be defined in
Terraform.
Copy link
Collaborator

@xuzhang3 xuzhang3 left a comment

Choose a reason for hiding this comment

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

LGTM

@xuzhang3 xuzhang3 merged commit c4b6ae9 into microsoft:master Aug 3, 2020
@beandrad beandrad deleted the acr-service-endpoint branch August 3, 2020 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants