A weekly 4 hour-long window, during which maintenance might occur.
postgres_version
str
True
The PostgreSQL version of your cluster.
instances
int
True
The total number of instances in the cluster (one master and n-1 standbys).
cores
int
True
The number of CPU cores per instance.
ram
int
True
The amount of memory per instance in megabytes. Has to be a multiple of 1024.
storage_size
int
True
The amount of storage per instance in megabytes.
storage_type
str
True
The storage type used in your cluster. (Value "SSD" is deprecated. Use the equivalent "SSD Premium" instead)
Options: ['HDD', 'SSD', 'SSD Standard', 'SSD Premium']
connections
list
True
Array of datacenters to connect to your cluster.
location
str
True
The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation.
display_name
str
True
The friendly name of your cluster.
db_username
str
True
The username for the initial PostgreSQL user. Some system usernames are restricted (e.g. "postgres", "admin", "standby").
db_password
str
True
The password for the initial postgres user.
synchronization_mode
str
True
Represents different modes of replication.
backup_location
str
False
The S3 location where the backups will be stored.
backup_id
str
False
The ID of the backup to be used.
recovery_target_time
str
False
Recovery target time.
allow_replace
bool
False
Boolean indicating if the resource should be recreated when the state cannot be reached in another way. This may be used to prevent resources from being deleted from specifying a different value to an immutable property. An error will be thrown instead
Default: False
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', 'absent', 'update', 'restore']
postgres_cluster
str
True
The ID or name of an existing Postgres Cluster.
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', 'absent', 'update', 'restore']
maintenance_window
dict
False
A weekly 4 hour-long window, during which maintenance might occur.
postgres_version
str
False
The PostgreSQL version of your cluster.
instances
int
False
The total number of instances in the cluster (one master and n-1 standbys).
cores
int
False
The number of CPU cores per instance.
ram
int
False
The amount of memory per instance in megabytes. Has to be a multiple of 1024.
storage_size
int
False
The amount of storage per instance in megabytes.
display_name
str
False
The friendly name of your cluster.
postgres_cluster
str
True
The ID or name of an existing Postgres Cluster.
allow_replace
bool
False
Boolean indicating if the resource should be recreated when the state cannot be reached in another way. This may be used to prevent resources from being deleted from specifying a different value to an immutable property. An error will be thrown instead
Default: False
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', 'absent', 'update', 'restore']
backup_id
str
True
The ID of the backup to be used.
recovery_target_time
str
False
Recovery target time.
postgres_cluster
str
True
The ID or name of an existing Postgres Cluster.
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', 'absent', 'update', 'restore']