-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Next Steps For AzureRM #6526
Comments
@clintonm9 you caught me in the process of the issue creation :) |
ha, np. How about this one ;) |
@clintonm9 looks like the ability to update a virtual machine vm_Size will be part of 0.6.16 - just found the error and am waiting for the tests to run now |
I have been able to recreate the casing of |
About the casing of E.g:
Apparently Azure is upper casing the names. |
@Felivel that's strange unless something has changed in the last little bit it should allow lowercase... I can try testing when I have a minute... this is what I had defined and it worked for me:
if this is now true then I would not want it to auto uppercase but rather add validation in terraform to warn user. @stack72 any thoughts? |
@Felivel sounds like a red herring as I am able to create with lowercase just fine My config:
My plan:
Applied successfully:
|
@majormoses The issue is when you update the resource after it is deployed. It will keep thinking there's a difference in the lower case version. |
@clintonm9 can you be more specific on what you are updating? I just updated it with a simple tag. plan:
aplly:
modifying an existing tag works as well... |
@majormoses What version are you using? |
@clintonm9 I tested with .14 and .15 |
I brought up a new machine in a new availability set to test and am unable to reproduce so its possible that they fixed it upstream in the go sdk. |
@majormoses The issue is not when you update the availability set. It is when you apply that to a azurerm_virtual_machine. After applying try running terraform plan. You will see the casting is wrong and it is trying to update the VM (which it will fail if you try) See this config example: @Felivel the all caps works for me as well, how ugly looking :) |
@majormoses as @clintonm9 mentioned, the problem is when you try to re-apply. I noticed that in some places of the azure portal you can see the Here is an example from the AzureRM API:
I just tried to reproduce the problem just now and it seems to be fixed. The AzureRM API returned the lower case name and id as expected. |
Hi all. In general Azure ids have to be interpreted case insensitively. Several of the backends normalize and we didn't enforce this (maintaining the case as originally submitted) strongly in the common frontend. I can only cite Postel's Law and Sir Tim's comments about URLs being case insensitive and apologize for the inconvenience. |
HI all This initial pass of what was required for AzureRM progress for 0.7 has been taken care of. There will be another round of changes soon Paul |
@stack72 Do you have an example of how to bring up a VM by cloning a VHD that is stored in blob storage? I keep getting issues using:
|
This is what I use:
|
@stack72 is setting up Alerts via Terraform on the road map? |
Hi @samdunne As I don't work for HC, I have access to no official roadmap for AzureRM. I think the best thing to do, is open an issue and request it :) The team (or an OSS contributor) can triage the work involved Hope this helps P. |
can somebody help me on how to create Azure VM from image of shared image gallery |
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. |
This is the roll up issue to track the next pieces of work requires for AzureRM:
Update AzureRM SDK Version -- Fixed by deps: Upgrade Azure SDK for Go #6976- Fixed by Normalizes availability_set_id to lowercase to avoid spurious diffs #6768azurerm_virtual_machine
showsavailability_set_id
shows continual changes (possibly due to casing) - Azure RM Availability Set #6331 / azurerm availability set case mismatch #6433- Fixed by provider/azurerm: Updateazurerm_virtual_machine
cannot update vm_size - azurerm can not adjust vm-size after deploy #6517azurerm_virtual_machine
failed on adminPassword #6528Potential issue creating virtual networks / subnets - error creating vnet/subnet azurerm resource in 0.6.14 #5827 / azurerm 0.6.14 400 Bad Request creating nic #5829Closed as cannot replicateInvestigate why vhd cannot be used as a reference source image onFixed by [azurerm] Add os_type and image_uri in azurerm_virtual_machine #6553azurerm_virtual_machine
- azurerm - unable to use a vhd as a reference source image #6494error creating vm from existing vhd - osType not supplied - azurerm - error creating vm from existing vhd - osType not supplied #6372Fixed by [azurerm] Add os_type and image_uri in azurerm_virtual_machine #6553Error while assigning a SSH key to a VM with azurerm - Error while assigning a SSH key to a VM with azurerm #6212 / azurerm_virtual_machine broken in 0.6.14 #5793Fixed by provider/azurerm: Fix an issue withazurerm_virtual_machine
ssh_keys #6541Error creating vm with data disk - Error creating vm with data disk #6120 / AzureRM Data Disk #6150Fixed by provider/azurerm: Error creatingazurerm_virtual_machine
data_disk #6543The text was updated successfully, but these errors were encountered: