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 Resources: azurerm_dev_test_(linux|windows)virtual_machine #2058

Merged
merged 13 commits into from
Oct 12, 2018

Conversation

tombuildsstuff
Copy link
Member

Dependent on #2041

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.

Aside from 2 very minor comments LGTM 👍

azurerm/resource_arm_dev_test_virtual_machine.go Outdated Show resolved Hide resolved
azurerm/resource_arm_dev_test_virtual_machine.go Outdated Show resolved Hide resolved
galleryImageReference := expandDevTestLabVirtualMachineGalleryImageReference(galleryImageReferenceRaw, osType)

natRulesRaw := d.Get("inbound_nat_rule").(*schema.Set)
natRules := expandDevTestLabVirtualMachineNatRules(natRulesRaw)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reason why galleryImage is a ref and this is not?

Copy link
Member Author

Choose a reason for hiding this comment

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

there's some validation below which needs the non-ref'd value to this, so it seemed simpler not to ref this in the function; but I can update that if needed?

@tombuildsstuff tombuildsstuff force-pushed the f/dtl-virtual-machine branch 3 times, most recently from b6893b2 to 99659be Compare October 12, 2018 02:48
@tombuildsstuff tombuildsstuff changed the title New Resource: azurerm_dev_test_virtual_machine New Resources: azurerm_dev_test_(linux|windows)virtual_machine Oct 12, 2018
@tombuildsstuff
Copy link
Member Author

Tests pass:

screenshot 2018-10-12 at 09 42 57

Copy link
Member

@mbfrahry mbfrahry left a comment

Choose a reason for hiding this comment

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

LGTM with some minor questions

@tombuildsstuff
Copy link
Member Author

Ignoring a temporary error in the API - the tests still pass:
screenshot 2018-10-12 at 12 20 57

@tombuildsstuff tombuildsstuff merged commit 39edd7a into master Oct 12, 2018
@tombuildsstuff tombuildsstuff deleted the f/dtl-virtual-machine branch October 12, 2018 22:22
tombuildsstuff added a commit that referenced this pull request Oct 12, 2018
@ghost
Copy link

ghost commented Mar 6, 2019

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 and limited conversation to collaborators Mar 6, 2019
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.

None yet

3 participants