users

claranet/users/mysql

Terraform Module HCL MYSQL

Terraform module for MySQL users management (and their rights) on an existing Database

Install
module "users" {
source = "claranet/users/mysql"
version = "8.0.0"
}
plain text: /constructs/tfmod-claranet-users-mysql/install.txt
⭐ Source on GitHub 📦 Registry page
README

MySQL Users module ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![TF Registry](https://registry.terraform.io/modules/claranet/users/mysql/) Terraform module using MySQL provider to create users and manage their roles on an existing Database. This module will be used in combination with others MySQL modules (like azure-db-mysql for example). Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0.15.x | | >= 2.0 | | >= 4.x.x | 0.13.x / 0.14.x | | >= 2.0 | | >= 3.x.x | 0.12.x | | >= 2.0 | | >= 2.x.x |

Inputs (6)
NameTypeDescriptionDefault
databaseslist(any)Databases names required
userstringUser name required
user_suffix_enabledboolAppend `_user` suffixfalse
hoststringUser Host"%"
privilegeslist(any)List of privileges[ "ALL PRIVILEGES" ]
passwordstringPassword if not generatednull
Outputs (2)
user — User
password — Password
Resources (3)
mysql_grantmysql_userrandom_password
Details
FrameworkTerraform Module
LanguageHCL
Version8.0.0
Cloud MYSQL
★ Stars0
Forks2
Total downloads6.5k
Inputs6
Outputs2
Resources3
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated