DataPlatform Cluster Config

dataplatform_cluster_config

This is a simple module that supports getting config of DataPlatform clusters

⚠️ Note: Data Platform is currently in the Early Access (EA) phase. We recommend keeping usage and testing to non-production critical applications. Please contact your sales representative or support for more information.

Example Syntax


name: Get kubeconfig by ID
ionoscloudsdk.ionoscloud.dataplatform_cluster_config:
  cluster: ''
  config_file: config.yaml

Returned object

{
    "failed": false,
    "changed": true,
    "config": "<CONFIG_FILE_CONTENT>"
}

For more examples please check out the tests here.

state: present

  
name: Get kubeconfig by ID
ionoscloudsdk.ionoscloud.dataplatform_cluster_config:
  cluster: ''
  config_file: config.yaml

Available parameters for state present:

NameRequiredDescription

cluster str

True

The name or the ID of the Data Platform cluster.

config_file str

True

The name of the file in which to save the config.

api_url str

False

The Ionos API base URL.

certificate_fingerprint str

False

The Ionos API certificate fingerprint.

username str

False

The Ionos username. Overrides the IONOS_USERNAME environment variable.

password str

False

The Ionos password. Overrides the IONOS_PASSWORD environment variable.

token str

False

The Ionos token. Overrides the IONOS_TOKEN environment variable.

wait bool

False

Wait for the resource to be created before returning. Default: True Options: [True, False]

wait_timeout int

False

How long before wait gives up, in seconds. Default: 600

state str

False

Indicate desired state of the resource. Default: present Options: ['present']

Last updated