microsoft / playwright-testing-service

MIT License
88 stars 13 forks source link

[QUESTION]:Arm Template / az-cli support for Playwright Workspace #69

Open ranat5 opened 1 year ago

ranat5 commented 1 year ago

Hi Team, As per the Playwright (preview) documentation for setting up the workspace in Azure, these seem to be done in manual steps. Is there currently any support for setting this up via az-cli or a more preferred option via arm templates (Bicep)?

Thanks!

AB#1912813

johnsta commented 1 year ago

Hi @ranat5, as of now, we do not have support for automating workspace creation using Azure CLI or ARM templates. But I can confirm that it is on our roadmap as part of our commitment that ensures all Azure services have this functionality.

ranat5 commented 1 year ago

Hi @johnsta, Does not need to be precise, but any sort of timeline we can get, as to when this can be expected? :)

mburumaxwell commented 6 months ago

Bicep worked for me today:

resource playwright 'Microsoft.AzurePlaywrightService/accounts@2024-02-01-preview' = {
  name: 'somename'
  location: location
  properties: {
    regionalAffinity: 'Disabled'
    reporting: 'Enabled'
    scalableExecution: 'Enabled'
  }
}
KuberDriver commented 2 months ago

Bicep worked for me today:

resource playwright 'Microsoft.AzurePlaywrightService/accounts@2024-02-01-preview' = {
  name: 'somename'
  location: location
  properties: {
    regionalAffinity: 'Disabled'
    reporting: 'Enabled'
    scalableExecution: 'Enabled'
  }
}

Does this work without errors on incremental deployment? i.e. when you redeploy does it proceed without any errors for you? currently I am seeing following error:

The operation for resource '/subscriptions/****************/resourceGroups/rg-sandbox/providers/Microsoft.AzurePlaywrightService/accounts/fdcsb' is invalid as it is being provisioned with state: 'Accepted'. (Code: InvalidResourceOperation)

Hi @johnsta checking if there is any progress on official support for PW IaC deployment with ARM/Bicep?