Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I specify the password for the replication source in oci_mysql_mysql_db_system #2091

Open
monktastic opened this issue Apr 11, 2024 · 2 comments
Labels

Comments

@monktastic
Copy link

monktastic commented Apr 11, 2024

https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/mysql_mysql_db_system

The channels/source section has a param for username but not password (which exists in the console). I understand that it's not good practice to include passwords in my TF, and there may be doc somewhere explaining how this should work in general, but the way the doc stands now, it's impossible to figure out.

@Coin-Degen
Copy link

To specify the password for the replication source in oci_mysql_mysql_db_system, you can use Oracle Cloud Infrastructure (OCI) Resource Manager to manage your MySQL Database System resources. You can specify the replication source password within the resource definition in the form of a secret.

Here's an example of how you can define the replication source password in the Terraform resource definition for OCI MySQL Database System:

@monktastic
Copy link
Author

Thanks @Coin-Degen. Looks like you may have meant to post a link there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants