Skip to main content

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

This version

1.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idem-vultr-1.5.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

idem_vultr-1.5-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

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

Hashes for idem-vultr-1.5.tar.gz
Algorithm Hash digest
SHA256 71ed829b84319cde7fd1ffaef0c3f19ce7069eab4ed1a222a54bd84b80d6b161
MD5 1070d79b8cb8b16372e95e2d9182ff91
BLAKE2b-256 6e3bb5ab6962b8c53ea263b01acfe114606246e49de28d3655a1f555501f187a

See more details on using hashes here.

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

Hashes for idem_vultr-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3fd743f4108ca8abe336e7f83d3985b3487ae1c644235a655fa47b3d81fd9b9f
MD5 ae4d8d2425b5874104ad7d86a78fd952
BLAKE2b-256 101a244c0631be8e488a748950bdf256b238f80fd7e9463852380899085ebef6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page