Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Lab 5 setup fails in Gov Cloud #9

@mattwilderness

Description

@mattwilderness

Module: 00

Lab/Demo: Use Delta Lake with Spark in Azure Synapse Analytics

Task: Provision an Azure Synapse Analytics workspace

Step: 7

Description of issue
Setup Script fails in Gov Cloud

Repro steps:

  1. Log into Gov Cloud
  2. Attempt lab 05
  3. Clone repo
  4. Run setup.ps1
  5. Observe script fails. None of the preferred regions are in Gov Cloud, so Get-AZLocation returns no regions.

$preferred_list = "australiaeast","centralus","southcentralus","eastus2","northeurope","southeastasia","uksouth","westeurope","westus","westus2"
$locations = Get-AzLocation | Where-Object {
$.Providers -contains "Microsoft.Synapse" -and
$
.Providers -contains "Microsoft.Sql" -and
$.Providers -contains "Microsoft.Storage" -and
$
.Providers -contains "Microsoft.Compute" -and
$_.Location -in $preferred_list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions