Skip to content

Instantly share code, notes, and snippets.

View thyandrecardoso's full-sized avatar

André Cardoso thyandrecardoso

View GitHub Profile
@thyandrecardoso
thyandrecardoso / test-elasticsearch.sh
Created May 6, 2022 16:38
Testing Elasticsearch indexing
#!/usr/bin/env bash
port=9201
branch=$(git describe --tags)
jvm=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}')
for indexIdx in {1..3}; do
curl -sX DELETE "http://localhost:$port/test-index-temp-$indexIdx" >/dev/null
done
@thyandrecardoso
thyandrecardoso / terraform_fail_parameter_group.txt
Created March 26, 2018 15:10
Terraform debug run failing while trying to modify db instance and parameter group
2018/03/26 15:57:18 [INFO] Terraform version: 0.11.5
2018/03/26 15:57:18 [INFO] Go runtime version: go1.10
2018/03/26 15:57:18 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.5/bin/terraform", "apply"}
2018/03/26 15:57:18 [DEBUG] Attempting to open CLI config file: /Users/belerophon/.terraformrc
2018/03/26 15:57:18 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/03/26 15:57:18 [INFO] CLI command args: []string{"apply"}
2018/03/26 15:57:18 [INFO] command: empty terraform config, returning nil
2018/03/26 15:57:18 [DEBUG] command: no data state file found for backend config
2018/03/26 15:57:18 [DEBUG] New state was assigned lineage "774c3d09-3907-233d-db08-acb3656fa71e"
2018/03/26 15:57:18 [INFO] command: backend initialized: <nil>

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: