Adding users and group bulk creation files - #31
Open
kassovix wants to merge 1 commit into
Open
Conversation
kassovix
force-pushed
the
add-bulk-create-users
branch
from
June 11, 2021 10:21
f265f6f to
49b7844
Compare
kassovix
force-pushed
the
add-bulk-create-users
branch
from
June 11, 2021 10:23
49b7844 to
396e919
Compare
kassovix
force-pushed
the
master
branch
2 times, most recently
from
June 15, 2021 12:25
0667e8b to
4b1bf9d
Compare
yesteph
reviewed
Jun 17, 2021
| terraform output -json bastion_ip |jq -r . >> "${ROOT_DIR}/config/ips" | ||
| userid=$(printf "%02d" "$project_id") # 2 digits, e.g. 01 for project 1 | ||
| passwd=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 20) # 20 alpha-numeric chars | ||
| echo "trainee${userid},trainee${userid},trainee${userid}@training.wecontrol.cloud,${passwd},,/kube-niv1-trainee" >> "${ROOT_DIR}/config/users.csv" |
Contributor
There was a problem hiding this comment.
@mathieulaude : mettre les usersID et passwords en resources puis outputs terraform permettrait de les retrouver dans les TF statefile.
romainDavaze
force-pushed
the
master
branch
2 times, most recently
from
November 15, 2022 15:08
6f9d336 to
7fb3b89
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.