Skip to content

Commit d22a235

Browse files
committed
Add README.md. Update expected envs to start with AZURE.
1 parent 0129dc5 commit d22a235

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# dso-az-python
2+
3+
Python module for starting, shutting down and deallocating Azure VMs.
4+
5+
Required environment variables:
6+
7+
```bash
8+
AZURE_SUBSCRIPTION_ID # azure subscription id
9+
AZURE_RESOURCE_GROUP # azure resource group
10+
```

dso_az_python/utils/env.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import os
22

3-
SUBSCRIPTION_ID = os.getenv("ARM_SUBSCRIPTION_ID")
4-
RESOURCE_GROUP = os.getenv("RESOURCE_GROUP", "")
3+
SUBSCRIPTION_ID = os.getenv("AZURE_SUBSCRIPTION_ID")
4+
RESOURCE_GROUP = os.getenv("AZURE_RESOURCE_GROUP", "")

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
requires = f.read().splitlines()
88

99
setup(
10-
name="dso-az-python",
10+
name="dso_az_python",
1111
version="0.1.0",
1212
packages=find_packages(),
1313
install_requires=requires,

0 commit comments

Comments
 (0)