Code Monkey home page Code Monkey logo

terraform-azurerm-linux-vm's People

Contributors

alanbty avatar amarhin avatar bd-clara avatar bzspi avatar jmapro avatar maxpoullain avatar polremy avatar rossifumax avatar semantic-release-bot avatar shr3ps avatar taoufik07 avatar zfiel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terraform-azurerm-linux-vm's Issues

admin_ssh_key Error during terraform plan

Explanation

I found an issue related to the SSH key using the last v.4.1.0 tag (it may occure with the other)

Error: Error "admin_ssh_key.0.public_key" is not a complete SSH2 Public Key

  on .terraform/modules/vm/r-vm.tf line 1, in resource "azurerm_linux_virtual_machine" "vm":
   1: resource "azurerm_linux_virtual_machine" "vm" {

I tried to use a SSH2 format, but this was not really the issue.
Then, I found this issue on Microsoft Docs GitHub : MicrosoftDocs/azure-docs#51106

Workaround

Adding this file() cast on the SSH key file on the dynamic bloc fix the issue :

 dynamic "admin_ssh_key" {
    for_each = var.ssh_public_key != null ? ["fake"] : []
    content {
      public_key = file(var.ssh_public_key)
      username   = var.admin_username
    }
  }

[FEAT] Allow to create VM with no diagnostics

Community Note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

At the moment, this module can either be configured with the Data Collection Rule ID from Azure Monitor and the new agent or the legacy agent.

Would it be possible to allow configure the module without any diagnostics?

New or Affected Resource(s)/Data Source(s)

azurerm_linux_virtual_machine

Potential Terraform Configuration

No response

References

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.