Skip to content

Instantly share code, notes, and snippets.

2023-12-05T16:32:48.616Z [INFO] Terraform version: 1.6.5
2023-12-05T16:32:48.616Z [DEBUG] using github.com/hashicorp/go-tfe v1.36.0
2023-12-05T16:32:48.616Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.19.1
2023-12-05T16:32:48.616Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2023-12-05T16:32:48.617Z [DEBUG] using github.com/zclconf/go-cty v1.14.1
2023-12-05T16:32:48.617Z [INFO] Go runtime version: go1.21.3
2023-12-05T16:32:48.617Z [INFO] CLI args: []string{"terraform", "apply", "-auto-approve"}
2023-12-05T16:32:48.617Z [DEBUG] Attempting to open CLI config file: /usr/local/google/home/myusername/.terraformrc
2023-12-05T16:32:48.617Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2023-12-05T16:32:48.617Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
Config
======
input {
redis {
batch_count => 1
codec => "plain"
data_type => "list"
db => 0
host => "localhost"
@jbrook
jbrook / README.md
Created January 23, 2013 20:01 — forked from fnichol/README.md

orderup

Description

Creates a tarball of Chef cookbooks from a Berksfile or Cheffile for chef-solo.

Installation

Copy the program to your local machine (perhaps ~/bin?) and install Berkshelf or Librarian-Chef:

@jbrook
jbrook / redis_logstash_test.rb
Created January 15, 2013 23:33
Send a batch of test logstash json events to a Redis queue
require "redis"
require "logstash/event"
require "stud/try"
require "time"
event_count = 10
def time_rand from = 0.0, to = Time.now
Time.at(from + rand * (to.to_f - from.to_f))
end
require 'rubygems'
require 'grok-pure'
# Set a new matcher
grok = Grok.new
# Load default and custom patterns
grok.add_patterns_from_file("/etc/logstash/patterns/default")
grok.add_patterns_from_file("/etc/logstash/patterns/mycustoms")
@jbrook
jbrook / updateWhisper.sh
Created August 3, 2012 10:45
Bash script to set the xFilesFactor and retention for whisper files - Graphite aggregation
#!/usr/bin/env bash
for file in `find . -name "*.wsp" -type f`; do
if [[ $file != *count.wsp && $file != *.tmp ]]
then
/usr/local/bin/whisper-resize.py --xFilesFactor=0.0 --nobackup $file 10:2160 60:10080 600:262800
fi
done
@jbrook
jbrook / api.feature
Created April 9, 2012 23:02 — forked from guenter/api.feature
Snippets for testing REST APIs with Cucumber and friends
Feature: API
In order to use the service from third party apps
As a user
I want to be able to use an API
Background:
Given a user exists # Pickle
And I login as the user using basic auth
Scenario Outline: Get a ticket
@jbrook
jbrook / es.txt
Created April 9, 2012 22:50 — forked from karussell/Query-DSL-elasticsearch.txt
Bird's Eye View on ElasticSearch its Query DSL
Several times in a month there pop up questions regarding query structure on the ElasticSearch user group.
Although there are good docs explaining this in depth probably the bird view of the Query DSL is necessary to
understand what is written there. There is even already some good external documentation available:
http://www.elasticsearch.org/tutorials/2011/08/28/query-dsl-explained.html
And there were attempts to define a schema:
http://groups.google.com/group/json-schema/browse_thread/thread/ae498ee818155d50
https://gist.github.com/8887766ca0e7052814b0