Skip to content

Instantly share code, notes, and snippets.

View artazar's full-sized avatar

Arty Mesh artazar

View GitHub Profile
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: selfsigned-issuer
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
@artazar
artazar / renameTerraformerPlanResourcesRoute53.py
Last active April 26, 2021 05:58
renameTerraformerPlanResourcesRoute53.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This is a helper tool
to rename Route53 resources generated by `terraformer`
"""
import os
import sys
import json
@artazar
artazar / parseTerraformerPlanRoute53.py
Last active September 18, 2023 22:53
terraformer: create per-zone plan files for AWS Route53
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This is a helper tool
to generate `terraformer` plan files on per-zone basis
for AWS Route53 service.
Follow these instructions to generate the global plan file
and then feed it to the script to create separate plans:
https://github.com/GoogleCloudPlatform/terraformer#planning
"""
@artazar
artazar / ssh_config
Created July 18, 2020 02:00
SSH config to alter user name and allow search domains
# Filename ~/.ssh/config
CanonicalizeHostname yes
CanonicalDomains example.com
Host *.example.com
User replaced_username