-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Connection isn't configured for provisioners to use inside of azurerm_virtual_machine #7122
Comments
Hi @colemickens I'm not quite following what the issue is here? When you give a virtual_machine a username and a password and a static ip then you can connect to it with a remote-exec for provisioning Is there something different you need? P. |
I was thinking that this, in the And I was hoping something similar could be done in the Read function for the azurerm_virtual_machine. |
succeeded This fixes #7122 where the SG was not fully configured before a dependant service was created ``` make testacc TEST=./builtin/providers/azurerm TESTARGS='-run=TestAccAzureRMNetworkSecurityGroup_' ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /vendor/) TF_ACC=1 go test ./builtin/providers/azurerm -v -run=TestAccAzureRMNetworkSecurityGroup_ -timeout 120m === RUN TestAccAzureRMNetworkSecurityGroup_basic --- PASS: TestAccAzureRMNetworkSecurityGroup_basic (128.93s) === RUN TestAccAzureRMNetworkSecurityGroup_withTags --- PASS: TestAccAzureRMNetworkSecurityGroup_withTags (164.52s) === RUN TestAccAzureRMNetworkSecurityGroup_addingExtraRules --- PASS: TestAccAzureRMNetworkSecurityGroup_addingExtraRules (178.20s) PASS ok github.com/hashicorp/terraform/builtin/providers/azurerm 471.677s ```
sorry, my fault! I had the wrong issue in my PR |
@stack72 is this a thing we should solve with better documentation? seems like the current approach is to
Does that seem correct? |
well, if #6634 is still an issue then my approach won't work |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform v0.7.0-rc1 (301da85f30239e87b30db254a25706a6d41c2522)
Expected Behavior
It would use the information given during configuration to
SetConnInfo
so that provisioners can connect automatically.Actual Behavior
This isn't implemented and so it can't connect and just fails in an infinite loop.
The text was updated successfully, but these errors were encountered: