Skip to content

Instantly share code, notes, and snippets.

View bflad's full-sized avatar
🎉
I may be slow to respond.

Brian Flad bflad

🎉
I may be slow to respond.
View GitHub Profile
@bflad
bflad / gist:2c7a8df73a1e5e42d8d82af847f9f226
Last active March 23, 2021 13:06
terraform-provider-aws semgrep helper-schema-ResourceData-SetId-empty-without-IsNewResource-check reports
aws/resource_aws_accessanalyzer_analyzer.go
severity:warning rule:helper-schema-ResourceData-SetId-empty-without-IsNewResource-check: Calling `d.SetId("")` should ensure `!d.IsNewResource()` is checked first
115: d.SetId("")
116: return nil
aws/resource_aws_acm_certificate_validation.go
severity:warning rule:helper-schema-ResourceData-SetId-empty-without-IsNewResource-check: Calling `d.SetId("")` should ensure `!d.IsNewResource()` is checked first
181: d.SetId("")
182: return nil
@bflad
bflad / console-output.txt
Created December 13, 2019 14:23
Terraform Performing Default Provider Validation When Removing Aliased Provider Resource
$ terraform init
Initializing the backend...
Initializing provider plugins...
- Checking for available provider plugins...
- Downloading plugin for provider "aws" (hashicorp/aws) 2.41.0...
Terraform has been successfully initialized!

Keybase proof

I hereby claim:

  • I am bflad on github.
  • I am bflad (https://keybase.io/bflad) on keybase.
  • I have a public key ASAIFBL4YpPnM40IFBfo0rlgn7H68tJEuS1zVYsX9L5m5Qo

To claim this, I am signing this object:

@bflad
bflad / analyzer-failures.txt
Created June 26, 2013 01:22
Skyline Analyzer DictProxy/KeyError
redis-cli
> flushall
> exit
service skyline-analyzer start
tail -f /var/log/skyline/analyzer.log
started with pid 24099
2013-06-25 20:20:25 :: starting skyline analyzer

Gitosis Deployment

  • On the server:
  • Install EPEL (likely to be added to RHN shortly which would be just: yum install epel-release)
  • rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
  • yum install gitosis
  • useradd git
  • passwd git
  • On your client:
  • ssh-keygen ...if necessary