when to use this bash script
before creating any resources on cloud console, run this first to create the template and placeholders. fill in the details later while creating resources one by one
What this script does
it creates 4 secrets items template with placeholders and the idiomatic tags following a convention, so that all the credentials are well organized and easy to search for
prerequisite
bash is above version 4 mac's bash is only 3.2, the shebang in the file is a version of bash i installed with homebrew bash 4+ is needed because the script uses the associative array feature (a key:value pair), which is not available in bash3.2
have
opcli (the onepassword cli) installed and Turn on the 1Password desktop app integration
how to run
bash
./new-cluster-from-template.sh