Skip to content

Commit ba6a4d9

Browse files
authored
Move location of azure-py-aks to the standard config (pulumi#511)
Move location of azure-py-aks to the standard config
2 parents 063cd2f + c3e58a0 commit ba6a4d9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

azure-py-aks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ After cloning this repo, from this working directory, run these commands:
3636
```bash
3737
$ pulumi config set password service_principal_password
3838
$ pulumi config set sshkey < ~/.ssh/id_rsa.pub
39-
$ # this has a default value, so you can skip it
40-
$ pulumi config set location any_valid_azure_location_for_aks
39+
$ # set the azure location in which to run the test
40+
$ pulumi config set azure:location westus2
4141
```
4242

4343
4. Stand up the AKS cluster:

azure-py-aks/__main__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
PASSWORD = config.require_secret("password")
1414
SSHKEY = config.require("sshkey")
15-
LOCATION = config.get("location") or "east us"
1615

1716
# create a Resource Group and Network for all resources
1817
resource_group = ResourceGroup("aks-rg")
@@ -36,7 +35,6 @@
3635

3736
aks = KubernetesCluster(
3837
"aksCluster",
39-
location=resource_group.location,
4038
resource_group_name=resource_group.name,
4139
kubernetes_version="1.14.6",
4240
dns_prefix="dns",

0 commit comments

Comments
 (0)