Skip to content

Update azure-linux template to use azure-instance-identity #3416

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

Closed
spikecurtis opened this issue Aug 8, 2022 · 0 comments
Closed

Update azure-linux template to use azure-instance-identity #3416

spikecurtis opened this issue Aug 8, 2022 · 0 comments

Comments

@spikecurtis
Copy link
Contributor

#3348 uses token auth because the azurerm_virtual_machine resource doesn't store the vmId in its state.

azurerm_virtual_machine is deprecated in favor of azurerm_linux_virtual_machine which does expose the vmId, but it does not yet support binding managed disks prior to startup, meaning we can't use cloud-init to format the volume and mount it as the homedir.

This issue has been around since 2020: hashicorp/terraform-provider-azurerm#6117

It might be possible to revive the work, or use one of the workarounds in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant