Skip to content

Instantly share code, notes, and snippets.

@hmrbarros
hmrbarros / tf.log
Created September 10, 2020 17:02
aws_route53_zone_association debug
aws_route53_zone_association.zone_association["AAAAAAAAAAAAAA_vpc-aaaaaaaaaaaaa"]: Importing from ID "AAAAAAAAAAAAAA:vpc-aaaaaaaaaaaaa:us-east-1"...
aws_route53_zone_association.zone_association["AAAAAAAAAAAAAA_vpc-aaaaaaaaaaaaa"]: Import prepared!
Prepared aws_route53_zone_association for import
aws_route53_zone_association.zone_association["AAAAAAAAAAAAAA_vpc-aaaaaaaaaaaaa"]: Refreshing state... [id=AAAAAAAAAAAAAA:vpc-aaaaaaaaaaaaa:us-east-1]
2020-09-10T17:52:10.796+0100 [DEBUG] plugin.terraform-provider-aws_v3.5.0_x5: 2020/09/10 17:52:10 [DEBUG] [aws-sdk-go] DEBUG: Request route53/ListHostedZonesByVPC Details:
2020-09-10T17:52:10.796+0100 [DEBUG] plugin.terraform-provider-aws_v3.5.0_x5: ---[ REQUEST POST-SIGN ]-----------------------------
2020-09-10T17:52:10.796+0100 [DEBUG] plugin.terraform-provider-aws_v3.5.0_x5: GET /2013-04-01/hostedzonesbyvpc?vpcid=vpc-aaaaaaaaaaaaa&vpcregion=us-east-1 HTTP/1.1
2020-09-10T17:52:10.796+0100 [DEBUG] plugin.terraform-provider-aws_v3.5.0_x5: Host: route53.amazonaws.com
@hmrbarros
hmrbarros / nonio.txt
Last active August 12, 2019 08:35
nonio blocklist
1rx.io
24liveblog.com
24live.co
2mdn.net
360yield.com
3lift.com
4finance.com
a3cloud.net
acuityplatform.com
adap.tv

pre-commit

Hook to validate terraform fmt

Installation

Install hook on git repository

curl -sL https://gist.githubusercontent.com/hmrbarros/2bb37d1be20359e31c5d3b3ee4ef9331/raw/4904a812a80c432c497f442b9b4b61dad5644c40/pre-commit -o .git/hooks/pre-commit && \
chmod u+x .git/hooks/pre-commit

Keybase proof

I hereby claim:

  • I am hmrbarros on github.
  • I am hugobarros (https://keybase.io/hugobarros) on keybase.
  • I have a public key ASCS3WW9QofZjkr3F_3xPr6TWzD_R4Upj4tug3pYfXhxWAo

To claim this, I am signing this object:

@hmrbarros
hmrbarros / .font.xml
Last active December 25, 2015 14:38
.font.conf file for prettier fonts
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>false</bool>