Skip to content

Instantly share code, notes, and snippets.

View anGie44's full-sized avatar
㊙️
🐶 🚶‍♀️ 🌮 🏃‍♀️ ✈️

angie pinilla anGie44

㊙️
🐶 🚶‍♀️ 🌮 🏃‍♀️ ✈️
View GitHub Profile
#!/usr/local/bin/bash
# This script is meant to run at the root of your local copy of the cloud-sre repository
cloud_sre_file=cloud-sre.nomad
hcloud_file=hcloud.nomad
cd nomad/jobs
stack=dev-remote
#!/usr/local/bin/bash
# This script is meant to run at the root of your local copy of the cloud-sre repository
cloud_sre_file=cloud-sre.nomad
hcloud_file=hcloud.nomad
cd cli/config
for file in `ls`; do
terraform plan
2022-08-31T21:01:25.623-0400 [INFO] Terraform version: 1.2.4
2022-08-31T21:01:25.624-0400 [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2022-08-31T21:01:25.624-0400 [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2022-08-31T21:01:25.624-0400 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-08-31T21:01:25.624-0400 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-08-31T21:01:25.624-0400 [DEBUG] using github.com/zclconf/go-cty v1.10.0
2022-08-31T21:01:25.624-0400 [INFO] Go runtime version: go1.18.3
2022-08-31T21:01:25.624-0400 [INFO] CLI args: []string{"terraform", "plan"}
2022-08-31T21:01:25.624-0400 [DEBUG] Attempting to open CLI config file: /Users/apinilla/.terraformrc
@anGie44
anGie44 / main.tf
Created September 21, 2020 15:19
SDK Set vs List Plan-time Issue
resource "aws_autoscaling_group" "bar" {
availability_zones = [data.aws_availability_zones.available.names[0]]
desired_capacity = 0
max_size = 0
min_size = 0
launch_template {
id = aws_launch_template.foobar.id
version = "$Latest"
}
@anGie44
anGie44 / gist:975a123fc361d4168e4f42588c7b54a8
Last active April 9, 2020 02:16
terraform_trace_logs.txt
2020-04-08T16:11:41.071-0400 [DEBUG] plugin.terraform-provider-github: ---[ REQUEST ]---------------------------------------
2020-04-08T16:11:41.071-0400 [DEBUG] plugin.terraform-provider-github: PATCH /teams/test-team/team-sync/group-mappings HTTP/1.1
2020-04-08T16:11:41.071-0400 [DEBUG] plugin.terraform-provider-github: Host: api.github.com
2020-04-08T16:11:41.071-0400 [DEBUG] plugin.terraform-provider-github: User-Agent: go-github
2020-04-08T16:11:41.071-0400 [DEBUG] plugin.terraform-provider-github: Content-Length: 151
2020-04-08T16:11:41.071-0400 [DEBUG] plugin.terraform-provider-github: Accept: application/vnd.github.v3+json
2020-04-08T16:11:41.071-0400 [DEBUG] plugin.terraform-provider-github: Content-Type: application/json
2020-04-08T16:11:41.071-0400 [DEBUG] plugin.terraform-provider-github: Accept-Encoding: gzip
2020-04-08T16:11:41.071-0400 [DEBUG] plugin.terraform-provider-github:
2020-04-08T16:11:41.071-0400 [DEBUG] plugin.terraform-provider-github: {