ops / script catalog

Search scripts

Showing recently documented scripts (start typing to search)

Showing 1-10 of 10 documented scripts

post-ec2-ip-to-slackRead/writeRead/write

Post the current EC2 instance hostname to a Slack channel

aws/automation/postEC2ip2slack.sh·bash
slackec2deploymentjenkinsnotifications
aws-get-iam-usersRead-onlyRead-only

List IAM users (optionally filter by username) and emit Terraform import

aws/inventory/030-get-iam-users.sh·bash
awsiamusersterraforminventory
aws-get-s3-bucketsRead-onlyRead-only

List S3 buckets (optionally filter by name) and emit Terraform import

aws/inventory/060-get-s3.sh·bash
awss3storageterraforminventory
aws-get-security-groupRead-onlyRead-only

Inventory security groups (filterable by VPC ID or SG ID) and emit Terraform

aws/inventory/110-get-security-group.sh·bash
awsec2security-groupvpcterraforminventory
aws-vpc-to-terraformRead/writeRead/write

Export a live AWS VPC to Terraform HCL with aws_vpc resource and imports

aws/terraform/vpc2tf.sh·bash
awsvpcterraformiacexporthcl
mongodb-backupRead/writeRead/write

Dump all MongoDB databases — skips PRIMARY nodes to avoid load

bash/database/mongodb_backup.sh·bash
mongodbbackupdatabasecron
iptables-rules-applyDestructiveDestructive

Reset and apply a complete iptables ruleset for a Linux host

bash/network/iptables_rules.sh·bash
iptablesfirewalllinuxnetworksecurity
template-bash-scriptRead-onlyRead-only

Copy-paste skeleton for new bash scripts — strict mode, lib sourcing, argparse

bash/system/template_bash_script.sh·bash
templatescaffoldboilerplate
create-eks-adminDestructiveDestructive

Create an eks-admin ServiceAccount with cluster-admin ClusterRoleBinding

kubernetes/eks/create-eks-admin.sh·bash
k8seksrbacadmin
generate-tls-keyRead/writeRead/write

Generate an RSA private key + CSR for TLS/mTLS or Kubernetes RBAC

security/tls/generate_key.sh·bash
tlssslmtlsrback8scerts