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

azurerm: add virtual desktops resources #145

Merged
merged 13 commits into from
Nov 18, 2020
Merged

Conversation

tormath1
Copy link
Contributor

@tormath1 tormath1 commented Nov 9, 2020

In this PR, we add some AzureRM resources for WVD. In complement of the resources, I modified the AzureRM generation parts:

  • add a new struct ExtraArgs to handle different types of args (only string was supported). First; I tried with a map[string]string but it's not deterministic
  • add a new field to the APIVersion to support preview mode
  • tfdocs bumped to the latest version to support VD resources

Added resources:

  • VirtualDesktopHostPool
  • VirtualDesktopApplicationGroup
  • LogicAppActionCustom
  • LogicAppWorkflow
  • LogicAppTriggerCustom
  • VirtualMachineExtension

this one is a bit harder than the others. You need to first
pull the workflows, then for each worflow you request the "runs".
Finally for each run, you request the actions. Since TF ARM only
supports for now "custom" / "http" actions, I decided to stay
with "custom" which includes "http" too
this resource requires a dedicated reader method because it does
not follow the usual pattern of other ARM resources
@tormath1 tormath1 force-pushed the mt-add-azure-resources branch from 7cb4d29 to 728d25d Compare November 12, 2020 10:10
@tormath1
Copy link
Contributor Author

Ready for review !

Copy link
Member

@xescugc xescugc left a comment

Choose a reason for hiding this comment

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

Changelog is missing but the rest LGTM I would say hehe.

@tormath1
Copy link
Contributor Author

@xescugc done for the changelog :)

@tormath1 tormath1 force-pushed the mt-add-azure-resources branch from ce92bcf to f938f33 Compare November 18, 2020 08:45
@tormath1 tormath1 merged commit 7f72f3e into master Nov 18, 2020
@tormath1 tormath1 deleted the mt-add-azure-resources branch November 18, 2020 15:38
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