knifecommand line tool allows management of various nodes within those environments. The
knife-ionoscloudplugin utilizes the IONOS Cloud REST API to provision and manage various cloud resources on the IONOS Cloud platform.
knife-ionoscloudplugin can be installed as a gem:
knife.rbwhich reduces the need to include the
--datacenter-id [datacenter_id]parameter for each action within the data center.
-e EXTRA_CONFIG_FILE_PATH. The file is expected to contain a JSON which should map the name of arguments to their expected values. Here is an example of such a file.
knife ionoscloud datacenter create --extra-config EXTRA_CONFIG_FILE_PATHwhere EXTRA_CONFIG_FILE_PATH is the name of the file containing the JSON above, the arguments described in the file will be used.
knife ionoscloud datacenter create --location us/las --extra-config EXTRA_CONFIG_FILE_PATHwill create a datacenter in the 'us/las' location. In the same way if the values for ionoscloud_username and ionoscloud_password are already set in the knife.rb file, the contents from the JSON will be ignored.