Postgres Cluster
postgres_cluster
Example Syntax
name: Create Cluster
ionoscloudsdk.ionoscloud.postgres_cluster:
postgres_version: 12
instances: 1
cores: 1
ram: 2048
storage_size: 20480
storage_type: SSD Premium
location: de/fra
backup_location: eu-central-2
connections:
- cidr: 192.168.1.106/24
datacenter: 'AnsibleAutoTestDBaaS - DBaaS'
lan: test_lan1
display_name: backuptest-04
synchronization_mode: ASYNCHRONOUS
db_username: clusteruser
db_password: 7357cluster
wait: true
register: cluster_response
name: Update Cluster
ionoscloudsdk.ionoscloud.postgres_cluster:
postgres_cluster: ''
instances: 2
cores: 2
ram: 4096
storage_size: 30480
state: update
wait: true
register: updated_cluster_response
name: Delete Cluster
ionoscloudsdk.ionoscloud.postgres_cluster:
postgres_cluster: ''
state: absent
wait: false
Returned object
For more examples please check out the tests here.
Parameters that can trigger a resource replacement:
state: present
Available parameters for state present:
Name
Required
Description
state: absent
Available parameters for state absent:
Name
Required
Description
state: update
Available parameters for state update:
Name
Required
Description
state: restore
Available parameters for state restore:
Name
Required
Description
Last updated
