IDEM_VULTR
Vultr Cloud Provider for Idem
INSTALLATION
The vultr idem provider can be installed via pip: pip install idem-vultr
INSTALLATION FOR DEVELOPMENT
1. Clone the idem_provider_vultr repository and install with pip: pip install -r requirements.txt 2. Run pip install -e <path to provider> from your project’s root directory
You are now fully set up to begin developing additional functionality for this provider.
EXECUTION
After installation the Vultr Idem Provider execution and state modules will be accessible to the hub.
To authenticate, first create a profile set up like so:
vultr:
default:
api_key: XXXXXXXXXXXXXXXXXXXX
location: New Jersey
encrypt this file using the acct plugin:
acct acct_profile.yml
It will create a file called acct_profile.yml.fernet and give you a key for decrypting it. Put these in the appropriate environment variables:
export ACCT_FILE="vultr.yml.fernet" export ACCT_key="gAAAAAAbjlkjsdkj_lkjlkfsjoj023h_jiosajdf="
You can now safely delete the plaintext file containing your api key. idem knows how to get the credentials it needs.
The following example uses an vultr state module to ensure the existence of a resource group:
VM exists:
vultr.server.vm.present:
- name: instance_name
- vps_plan: 16384 MB RAM,320 GB SSD,5.00 TB BW
- os: Ubuntu 20.04 x64
Use the command line to run vultr specific execution modules:
idem exec vultr.list full=True
Metadata
Release files for idem-vultr 1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| idem-vultr-1.5.tar.gz | 24.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| idem_vultr-1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.2 kB
Release files / idem-vultr-1.5.tar.gz
| Download URL | idem-vultr-1.5.tar.gz |
|---|---|
| Size | 24.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71ed829b84319cde7fd1ffaef0c3f19ce7069eab4ed1a222a54bd84b80d6b161
|
|
BLAKE2b-256 checksum How to use checksums |
6e3bb5ab6962b8c53ea263b01acfe114606246e49de28d3655a1f555501f187a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / idem_vultr-1.5-py3-none-any.whl
| Download URL | idem_vultr-1.5-py3-none-any.whl |
|---|---|
| Size | 55.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fd743f4108ca8abe336e7f83d3985b3487ae1c644235a655fa47b3d81fd9b9f
|
|
BLAKE2b-256 checksum How to use checksums |
101a244c0631be8e488a748950bdf256b238f80fd7e9463852380899085ebef6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|