Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 4.86 KB

File metadata and controls

57 lines (45 loc) · 4.86 KB

db-backup-restore

Requirements

No requirements.

Providers

Name Version
aws n/a
helm n/a
kubernetes n/a

Modules

No modules.

Resources

Name Type
aws_iam_role.postgres_backup_role resource
aws_iam_role.postgres_restore_role resource
helm_release.postgresdb_backup resource
helm_release.postgresdb_restore resource
kubernetes_namespace.postgresdb resource
aws_caller_identity.current data source
aws_eks_cluster.kubernetes_cluster data source

Inputs

Name Description Type Default Required
azure_container_name Azure container name string "" no
azure_storage_account_key Azure storage account key string "" no
azure_storage_account_name Azure storage account name string "" no
bucket_provider_type Choose what type of provider you want (s3, gcs) string "s3" no
cluster_name Specifies the name of the EKS cluster to deploy the MySQL application on. string "" no
create_namespace Specify whether or not to create the namespace if it does not already exist. Set it to true to create the namespace. string false no
iam_role_arn_backup IAM role ARN for backup (AWS) string "" no
iam_role_arn_restore IAM role ARN for restore (AWS) string "" no
name Name identifier for module to be added as suffix to resources string "test" no
namespace Name of the Kubernetes namespace where the MYSQL deployment will be deployed. string "postgresdb" no
postgresdb_backup_config configuration options for MySQL database backups. It includes properties such as the S3 bucket URI, the S3 bucket region, and the cron expression for full backups. map(string)
{
"bucket_uri": "",
"cron_for_full_backup": "",
"postgres_database_name": "",
"s3_bucket_region": ""
}
no
postgresdb_backup_enabled Specifies whether to enable backups for MySQL database. bool false no
postgresdb_permission access bool false no
postgresdb_restore_config Configuration options for restoring dump to the MySQL database. any
{
"DB_NAME": "",
"backup_file_name": "",
"bucket_uri": "",
"file_name": ""
}
no
postgresdb_restore_enabled Specifies whether to enable restoring dump to the MySQL database. bool false no
service_account_backup Service account for backup (GCP) string "" no
service_account_restore Service account for restore (GCP) string "" no

Outputs

No outputs.