States and execution modules for the vultr cloud provider
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file idem-vultr-1.5.tar.gz
.
File metadata
- Download URL: idem-vultr-1.5.tar.gz
- Upload date:
- Size: 24.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71ed829b84319cde7fd1ffaef0c3f19ce7069eab4ed1a222a54bd84b80d6b161 |
|
MD5 | 1070d79b8cb8b16372e95e2d9182ff91 |
|
BLAKE2b-256 | 6e3bb5ab6962b8c53ea263b01acfe114606246e49de28d3655a1f555501f187a |
File details
Details for the file idem_vultr-1.5-py3-none-any.whl
.
File metadata
- Download URL: idem_vultr-1.5-py3-none-any.whl
- Upload date:
- Size: 55.7 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fd743f4108ca8abe336e7f83d3985b3487ae1c644235a655fa47b3d81fd9b9f |
|
MD5 | ae4d8d2425b5874104ad7d86a78fd952 |
|
BLAKE2b-256 | 101a244c0631be8e488a748950bdf256b238f80fd7e9463852380899085ebef6 |