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
asdf plugin-add steampipe | |
asdf install steampipe latest | |
asdf global steampipe latest | |
steampipe plugin install azure | |
steampipe plugin install config | |
az functionapp list | tee /tmp/functionapps.json | |
az webapp list | tee /tmp/webapps.json | |
steampipe query |
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 | |
# DISCLAIMER: There is a lot of room for improvement in this script. It is a quick and dirty solution. | |
# Description: This script adds a lifecycle block to a resource or data source in a Terraform file focused on ignore_changes. | |
# This can be useful in conjunction with terragrunt and its hooks: | |
# | |
# terragrunt.hcl content: | |
# | |
# terraform { |
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
TelePeriod 30 | |
SwitchTopic "My_Door_Sensor" | |
SetOption114 ON | |
SwitchMode2 1 | |
Rule1 | |
On system#boot DO publish2 homeassistant/binary_sensor/%topic%/config {"unique_id":"%topic%","expire_after":"1800","device_class":"door","name":"My Door Sensor","state_topic":"tele/%topic%/SENSOR","value_template":"{{value_json.Switch2}}"} ENDON |
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 | |
export KONG_VERSION="2.8.3" | |
git clone https://github.com/Kong/kong.git | |
cd kong | |
git checkout tags/$KONG_VERSION | |
cd .. | |
export KONG_BUILD_TOOLS_VERSION="4.42.1" | |
git clone https://github.com/Kong/kong-build-tools.git |