Skip to content

Instantly share code, notes, and snippets.

@jibaromar
jibaromar / is-sg-used.sh
Created September 5, 2024 10:19
Check if an AWS security group is attached to some resources
# ====================================================
# ⚠️ USE AT YOUR OWN RISK ⚠️
# ----------------------------------------------------
# This script is provided as-is with no guarantees.
# You are responsible for any consequences that may
# arise from using it. Please use with caution!
# ====================================================
# Script only checks these resources:
# - EC2 Instances
@jibaromar
jibaromar / credentials.pkr.hcl
Created June 27, 2023 19:57
Packer source for building a pfSense template in Proxmox with SSHD enabled
proxmox_hostname = "https://ns1234567.ip-12-345-6.eu:8006"
proxmox_token_user = "packer@pam!packer"
proxmox_token = ""