-
Notifications
You must be signed in to change notification settings - Fork 8
Redevelop module for TF 0.12 and multiple users #4
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
base: master
Are you sure you want to change the base?
Conversation
Also let me know if the module should still support one single user creation for maximum flexibility in case the configuration with the maps is more complex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the readme
################################ | ||
# RAM user | ||
################################ | ||
variable "create" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the create
should be kept and it can used to control whether create users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the user does not want to create users, commenting the variable "users" will control whether to create users
I have redeveloped the module to take advantage of the 0.12 sintax.
The major benefit is to declare multiple users in a module rather than calling the module each time a new user must be created.
It does also print the secret keys for users who use terraform with a different state than local.