Comments (5)
Provide the feature as it was before
You really should look for ways to avoid having the password in plaintext in your statefile. We do not have any plans to re-enable that functionality because its a really poor practice
That said, there is nothing from stopping you from using the random password resource yourself to generate a password and pass it into this module - we want to push users towards the recommended approach (for their own benefit)
from terraform-aws-rds-aurora.
Of course one should avoid that. I thought I made it clear I agree with the intent. The only issue is with the stated removal being:
With RDS now supporting the integration with SecretsManager to manage the master user password, the ability to generate a random password has been removed from this module
But RDS doesn't support that in all cases. In those cases, what is your recommendation? I cannot enable IAM authentication without setting a master password. So, without encrypted state support, I'm not clear on the recommended approach here.
from terraform-aws-rds-aurora.
If you don't want to go the managed password route, just supply a password as input to your module via master_password
. You can even use the random resource like this module previously did if you'd like
terraform-aws-rds-aurora/main.tf
Lines 26 to 31 in bf4d92c
# ...
manage_master_user_password = false
master_password = <something>
# ...
from terraform-aws-rds-aurora.
I appreciate you taking the time. Just to clarify, that is precisely what I am doing. I mention that as the alternatives in the opening remarks. I guess my question is, if this is a poor practice, what is the alternative? I do want to go the managed password route; it just isn't supported.
One improvement would be to ignore changes to the master password, so it can be changed outside the state, but that still requires the initial inclusion.
from terraform-aws-rds-aurora.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
from terraform-aws-rds-aurora.
Related Issues (20)
- Aurora module IAM role attachment with feature giving error HOT 2
- Upgrading Global Database Clusters Yields Inconsistent Plan HOT 9
- aws_appautoscaling_target causing perpetual drift HOT 3
- Autoscaling does not scale cluster to min capacity on creation HOT 7
- Typo in repo About section HOT 2
- Error when creating role in China HOT 3
- Error while creating replica cluster, HOT 1
- terraform-aws-rds-aurora module should allow list of databases to be created in postgres instance/cluster HOT 2
- Enabling the RDS Data API for Postgres Serverless v2 HOT 8
- Allow setting cloud watch log groupclass HOT 4
- Global flag `performance_insights` needs to be especify in all instances to take effect HOT 4
- Support custom ignore_change HOT 9
- Add lifecyle ignore changes on AZs to aws_rds_cluster resource HOT 2
- Global flag `performance_insights` needs to be especify in all instances to take effect HOT 3
- rds-aurora mysql example contains two sets of db_parameter_group declarations HOT 2
- cluster_members property is empty and leads to cluster/instance recreation without making any configuration changes HOT 4
- Blue geen deployment in terraform HOT 9
- Passing null to `performance_insights_retention_period` is not being treated as not set HOT 2
- Aurora upgrade can not be triggered HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-rds-aurora.