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

Azure: Set a valide admin_password with azurerm_windows_virtual_machine #352

Closed
talset opened this issue Mar 2, 2023 · 0 comments
Closed
Labels
Provider: AzureRM Type: Bug Something isn't working Type: Enhancement Provide a new feature or improve an existing one

Comments

@talset
Copy link
Member

talset commented Mar 2, 2023

General information:

  • Operating System:
  • Terracognita version / tag: master
  • Did you build Terracognita from sources or did you use the Docker image: sources

Describe the bug:

When importing azurerm_windows_virtual_machine, admin_password can't be read.
By default, the value is set to ignored-as-imported which is not a valid password for Azure.

A solution would be to set a "valid" password such Ignored-as-!mport3d.

Log message

Error: "admin_password" has to fulfill 3 out of these 4 conditions: Has lower characters, Has upper characters, Has a digit, Has a special character other than "_", fullfiled only 2 conditions

Additional context

@talset talset added Type: Bug Something isn't working Type: Enhancement Provide a new feature or improve an existing one Provider: AzureRM labels Mar 2, 2023
talset added a commit that referenced this issue Mar 2, 2023
The value can't be retrieved. Terraform Azure provider set
"ignored-as-imported" which is not a valid password.
In this case, set the default password wich respects Azure constraints
talset added a commit that referenced this issue Mar 2, 2023
The value can't be retrieved. Terraform Azure provider set
"ignored-as-imported" which is not a valid password.
In this case, set the default password wich respects Azure constraints
@talset talset closed this as completed in 25ae80d Mar 6, 2023
talset added a commit that referenced this issue Mar 6, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Provider: AzureRM Type: Bug Something isn't working Type: Enhancement Provide a new feature or improve an existing one
Projects
None yet
Development

No branches or pull requests

1 participant