Git Product home page Git Product logo

Comments (8)

bender-the-greatest avatar bender-the-greatest commented on July 17, 2024

Here is my (sanitized) .kitchen.yml config:

driver:
  name: azurerm
  subscription_id: SUBSCRIPTION_GUID
  transport:
    name: winrm
    winrm_transport: ssl
    
  instance_type: Standard_D2_v2
  location: "East US"
  vnet_id: VNET_URN
  subnet_id: VNET_SUBNET_URN

platforms:
  - name: windows2019
    driver:
      image_urn: MicrosoftWindowsServer:WindowsServer:2019-Datacenter-smalldisk:latest
      use_ephemeral_osdisk: true

suites:
  - name: msbase
    driver:
      vm_name: tk-server-2019-nilla

from kitchen-azurerm.

bender-the-greatest avatar bender-the-greatest commented on July 17, 2024

It's worthy to note that the Azure CLI is authenticated and I can run commands against this subscription from the command line when this issue occurs with the kitchen-azurerm driver.

from kitchen-azurerm.

rogueautomation avatar rogueautomation commented on July 17, 2024

I am encountering the same issue. @bender-the-greatest - did you ever find a workaround?

from kitchen-azurerm.

bender-the-greatest avatar bender-the-greatest commented on July 17, 2024

I have not, but it's not been a high priority to revisit yet. Note that I have not tried providing an explicit client id and secret, so an app registration (service principal) with the permissions necessary for kitchen-azurerm to function may be a suitable workaround.

from kitchen-azurerm.

bender-the-greatest avatar bender-the-greatest commented on July 17, 2024

@rogueautomation I did work around this, right now my workaround is to use an app registration and credentials file

from kitchen-azurerm.

shyambandi avatar shyambandi commented on July 17, 2024

@bender-the-greatest @rogueautomation any luck with this issue? i am facing the same problem.

from kitchen-azurerm.

rogueautomation avatar rogueautomation commented on July 17, 2024

@shyambandi - not as of yet. Our workaround is currently running WSL 2, installing az cli and CHEF Workstation in our Ubuntu WSL VM's and running test-kitchen that way. I'm told that more and more folks are bringing this issue up to CHEF, but haven't heard on a target date for their prospective fix.

from kitchen-azurerm.

shyambandi avatar shyambandi commented on July 17, 2024

@rogueautomation i am running this on a Windows machine, can you suggest?

from kitchen-azurerm.

Related Issues (20)

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.