Skip to content

Instantly share code, notes, and snippets.

View TechnicalMercenary's full-sized avatar

Gregory Bonk TechnicalMercenary

View GitHub Profile
gregory.bonk@greg-bonk-mbp:~/workspace$ aws --debug eks update-kubeconfig --name my-eks --region us-west-2
2020-01-15 17:35:03,767 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/1.17.3 Python/2.7.17 Darwin/19.2.0 botocore/1.14.3
2020-01-15 17:35:03,767 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['--debug', 'eks', 'update-kubeconfig', '--name', 'my-eks', '--region', 'us-west-2']
2020-01-15 17:35:03,767 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_scalar_parsers at 0x1026e64d0>
2020-01-15 17:35:03,767 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x1022b1dd0>
2020-01-15 17:35:03,767 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x1023193d0>
2020-01-15 17:35:03,772 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach
This file has been truncated, but you can view the full file.
[gbonk-eks:us-west-2]$ cat aws/eks/crash.log
2018/11/09 17:12:56 [INFO] Terraform version: 0.11.10
2018/11/09 17:12:56 [INFO] Go runtime version: go1.11.2
2018/11/09 17:12:56 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.10/bin/terraform", "destroy", "-force", "-var", "region-id=us-west-2", "-var", "env-key=gbonk-eks", "-var", "profile-id=default", "-var", "tag-map={env-key=\"gbonk-eks\" region-id=\"us-west-2\" cluster-id=\"eks\" distro-id=\"eks\" scm-branch=\"master\" scm-sha=\"2ff019257ae4eb27e74acebfbfa1844a4b35e033\" scm-user=\"Gregory Bonk\" scm-email=\"gbonk@paxata.com\" create-user=\"gregory\" create-timestamp=\"2018-11-09T17:12:49-0500\" create-host=\"MacBook-Pro.localdomain\" approver-email=\"gbonk@paxata.com\" expiration-date=\"2018-11-16\" tf-config=\"eks\"}", "-var-file=/Users/gregory/GitHub/devops-application/application/customer/paxata/customer.properties", "-var-file=/Users/gregory/GitHub/devops-application/application/distro/eks/us-west-2.vmi.properties", "-var-file=/Users/gregor
This file has been truncated, but you can view the full file.
[gbonk-eks:us-west-2]$ export TF_LOG=trace
[gbonk-eks:us-west-2]$ remote-down.sh
FYI: Start Time: Fri Nov 9 17:12:49 EST 2018
~/GitHub/devops-application ~/GitHub/devops-application/infrastructure
~/GitHub/devops-application/infrastructure
Warning: /Users/gregory/GitHub/devops-application/application/customer/paxata/eks/cluster.properties does not exist.
FYI: /Users/gregory/GitHub/devops-application/application/customer/paxata/eks/region/us-west-2.properties does not exist.
Terraform Params: -var region-id="us-west-2" -var env-key="gbonk-eks" -var profile-id='default' -var 'tag-map={env-key="gbonk-eks" region-id="us-west-2" cluster-id="eks" distro-id="eks" scm-branch="master" scm-sha="2ff019257ae4eb27e74acebfbfa1844a4b35e033" scm-user="Gregory Bonk" scm-email="gbonk@paxata.com" create-user="gregory" create-timestamp="2018-11-09T17:12:49-0500" create-host="MacBook-Pro.localdomain" approver-email="gbonk@paxata.com" expiration-date="2018-11-16" tf-config="eks"}' -var-file=/Users/gregory/GitHub/devops-appl
locals {
extra-tags = [
{
key = "Name"
value = "${var.env-key}-node"
propagate_at_launch = true
},