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
INFO 2022-03-28 18:13:07 will run terraform init, plan -destory on [autotf-testing01.destroy] | |
Initializing the backend... | |
Initializing provider plugins... | |
- Reusing previous version of hashicorp/aws from the dependency lock file | |
- Using previously-installed hashicorp/aws v4.8.0 | |
Terraform has been successfully initialized! |
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
INFO 2022-03-28 18:07:27 will run terraform init, plan and apply on [autotf-testing01.tfvars] | |
+------------------+----------------+-------------------------+-----------------------------------+ | |
| Resource Name | Backend Bucket | TFVars Name | Backend Key | | |
+------------------+----------------+-------------------------+-----------------------------------+ | |
| autotf-testing01 | autotf-testing | autotf-testing01.tfvars | stage/s3/autotf-testing01.tfstate | | |
+------------------+----------------+-------------------------+-----------------------------------+ | |
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
INFO 2022-03-28 17:50:29 will run terraform init, plan on [autotf-testing01.tfvars] | |
+------------------+----------------+-------------------------+-----------------------------------+ | |
| Resource Name | Backend Bucket | TFVars Name | Backend Key | | |
+------------------+----------------+-------------------------+-----------------------------------+ | |
| autotf-testing01 | autotf-testing | autotf-testing01.tfvars | stage/s3/autotf-testing01.tfstate | | |
+------------------+----------------+-------------------------+-----------------------------------+ | |
Initializing the backend... |
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
package main | |
import "fmt" | |
import "unsafe" | |
type TerraformResource struct { | |
Cloud string // 16 bytes | |
Name string // 16 bytes | |
HaveDSL bool // 1 byte | |
PluginVersion string // 16 bytes |
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
package main | |
import "fmt" | |
import "unsafe" | |
type TerraformResource struct { | |
Cloud string // 16 bytes | |
Name string // 16 bytes | |
PluginVersion string // 16 bytes | |
TerraformVersion string // 16 bytes |
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
function fish_user_key_bindings | |
bind ' ' __toggle_dir_length # toggle PWD on NORMAL mode | |
end |
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
def which(program): | |
""" | |
:param program: i.e. docker, python etc | |
:return: full path for the given binary | |
""" | |
import os | |
def is_exe(fpath): | |
return os.path.isfile(fpath) and os.access(fpath, os.X_OK) |
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
caniusepython3 -r requirements.txt test-requirement.txt | |
caniusepython3 -m PKG-INFO | |
caniusepython3 -p numpy scipy ipython | |
# If your project's setup.py uses setuptools | |
# (note that setup_requires can't be checked) ... | |
python setup.py caniusepython3 |
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
auto_activate_virtualenv() { | |
current_dir="${PWD##*/}" | |
if [ -e ~/.virtualenvs/$current_dir ]; then | |
deactivate >/dev/null 2>&1 | |
source ~/.virtualenvs/$current_dir/bin/activate | |
else | |
deactivate >/dev/null 2>&1 | |
fi | |
} |
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
#!/bin/bash | |
APP_PATH=$1 | |
shift | |
if [ -z $APP_PATH ]; then | |
echo "Missing 1st argument: should be path to folder of a git repo"; | |
exit 1; | |
fi |