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

New Service (Multiple Resources): DesktopVirtualization (Virtual Desktops) #8605

Merged
merged 39 commits into from
Oct 7, 2020
Merged

New Service (Multiple Resources): DesktopVirtualization (Virtual Desktops) #8605

merged 39 commits into from
Oct 7, 2020

Conversation

DanielMabbett
Copy link
Contributor

@DanielMabbett DanielMabbett commented Sep 24, 2020

New Service: DesktopVirtualization (Virtual Desktops)

The following has been added following issue request:
#3507

The following has been added:

  • New folder for the new service DesktopVirtualization
  • Added the following resources for initial commit:
    • azurerm_virtual_desktop_workspace
    • azurerm_virtual_desktop_host_pool
    • azurerm_virtual_desktop_application_group
    • azurerm_virtual_desktop_workspace_application_group_association
  • Added basic tests for the resources above.

NOTE

This may not be complete with every feature DesktopVirtualization has, but would provide a solid base for us to add more resources in following releases.

* init

* add client.go. fix check test package sh

* init add client + go mod addition

* working client

* initial work for virtual desktop workspace

* init host pool resource

* add host pool resource

* add app group

* add workspace application group association resource

* update association tests

* update app association and host pool

* added documentation desktopvirtualization

* Update virtual desktop resources

* simpler error step for testing association
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

Thank you for the PR @DanielMabbett,

Overall this is off to a great start! I've gone over it and left some comments inline but some of the main points are:

  • regardless of what the SDK/api calls a property we tend to use a name that makes the most sense. I've left some suggestions inline
  • each resource should have a complete test that sets all properties and an update test that goes basic -> complete -> basic
  • all properties should be set on a read for each resource
  • moving the test files up one directory into the service package

Once these are addressed this should be good to merge

DanielMabbett and others added 5 commits September 29, 2020 09:15
…desktop_application_group_resource_test.go

Co-authored-by: kt <kt@katbyte.me>
…desktop_host_pool_resource_test.go

Co-authored-by: kt <kt@katbyte.me>
…desktop_workspace_resource_test.go

Co-authored-by: kt <kt@katbyte.me>
@DanielMabbett
Copy link
Contributor Author

Still need to do some more clean up. Should be done in the next day or two.

@ghost ghost removed the waiting-response label Sep 29, 2020
Copy link
Collaborator

@katbyte katbyte 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 those changes! I've given this another pass and most of my comments are fairly minor this time. Look forward to getting this into 2.31!

@katbyte katbyte added this to the v2.31.0 milestone Oct 3, 2020
DanielMabbett and others added 9 commits October 3, 2020 22:12
…p_workspace_resource_test.go

Co-authored-by: kt <kt@katbyte.me>
…p_workspace_resource_test.go

Co-authored-by: kt <kt@katbyte.me>
…p_application_group_resource_test.go

Co-authored-by: kt <kt@katbyte.me>
…p_host_pool_resource_test.go

Co-authored-by: kt <kt@katbyte.me>
…p_application_group_resource.go

Co-authored-by: kt <kt@katbyte.me>
…p_host_pool_resource.go

Co-authored-by: kt <kt@katbyte.me>
@DanielMabbett DanielMabbett requested a review from katbyte October 4, 2020 19:46
@DanielMabbett
Copy link
Contributor Author

Ready for another review :)

@ghost ghost removed the waiting-response label Oct 5, 2020
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

thanks @DanielMabbett - aside from a few minor comments while i will apply inline this LGTM 👍

@katbyte katbyte merged commit b39d2ed into hashicorp:master Oct 7, 2020
katbyte added a commit that referenced this pull request Oct 7, 2020
@ghost
Copy link

ghost commented Oct 8, 2020

This has been released in version 2.31.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.31.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Nov 7, 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. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Nov 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants