Skip to content

Instantly share code, notes, and snippets.

@eeeschwartz
Created February 7, 2020 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eeeschwartz/021c7b0ca66a1b102970f36c42b23a59 to your computer and use it in GitHub Desktop.
Save eeeschwartz/021c7b0ca66a1b102970f36c42b23a59 to your computer and use it in GitHub Desktop.
Terraform Helm Provider Debug Output
�Terraform v0.12.19
Initializing plugins and modules...
2020/02/07 15:09:36 [DEBUG] Using modified User-Agent: Terraform/0.12.19 TFC/05d298ef7d
null_resource.custom: Destroying... [id=5949662627807692286]
null_resource.custom: Destruction complete after 0s
local_file.kubeconfig: Creating...
local_file.kubeconfig: Creation complete after 0s [id=44acd74f3c09bea017b7ce102c8f55926af749ea]
null_resource.custom: Creating...
null_resource.custom: Provisioning with 'local-exec'...
null_resource.custom (local-exec): Executing: ["/bin/sh" "-c" "      set -e\n\n      curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/aws-iam-authenticator\n      chmod +x aws-iam-authenticator\n      mkdir -p $HOME/bin && cp ./aws-iam-authenticator $HOME/bin/aws-iam-authenticator && export PATH=$PATH:$HOME/bin\n\n      echo $PATH\n\n      aws-iam-authenticator\n\n      curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl\n      chmod +x kubectl\n\n      ./kubectl get po\n"]
helm_release.testchart: Creating...
null_resource.custom (local-exec):   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
null_resource.custom (local-exec):                                  Dload  Upload   Total   Spent    Left  Speed
null_resource.custom (local-exec):   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
null_resource.custom (local-exec):   0 17.7M    0 51799    0     0   106k      0  0:02:50 --:--:--  0:02:50  106k
null_resource.custom (local-exec):  81 17.7M   81 14.4M    0     0  9937k      0  0:00:01  0:00:01 --:--:-- 9937k
null_resource.custom (local-exec): 100 17.7M  100 17.7M    0     0  10.8M      0  0:00:01  0:00:01 --:--:-- 10.8M
null_resource.custom (local-exec): /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/terraform/bin
null_resource.custom (local-exec): A tool to authenticate to Kubernetes using AWS IAM credentials

null_resource.custom (local-exec): Usage:
null_resource.custom (local-exec):   aws-iam-authenticator [command]

null_resource.custom (local-exec): Available Commands:
null_resource.custom (local-exec):   help        Help about any command
null_resource.custom (local-exec):   init        Pre-generate certificate, private key, and kubeconfig files for the server.
null_resource.custom (local-exec):   server      Run a webhook validation server suitable that validates tokens using AWS IAM
null_resource.custom (local-exec):   token       Authenticate using AWS IAM and get token for Kubernetes
null_resource.custom (local-exec):   verify      Verify a token for debugging purpose
null_resource.custom (local-exec):   version     Version will output the current build information

null_resource.custom (local-exec): Flags:
null_resource.custom (local-exec):   -i, --cluster-id ID       Specify the cluster ID, a unique-per-cluster identifier for your aws-iam-authenticator installation.
null_resource.custom (local-exec):   -c, --config filename     Load configuration from filename
null_resource.custom (local-exec):   -h, --help                help for aws-iam-authenticator
null_resource.custom (local-exec):   -l, --log-format string   Specify log format to use when logging to stderr [text or json] (default "text")

null_resource.custom (local-exec): Use "aws-iam-authenticator [command] --help" for more information about a command.
null_resource.custom (local-exec):   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
null_resource.custom (local-exec):                                  Dload  Upload   Total   Spent    Left  Speed
null_resource.custom (local-exec):   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
null_resource.custom (local-exec): 100 41.4M  100 41.4M    0     0   131M      0 --:--:-- --:--:-- --:--:--  131M
null_resource.custom (local-exec): No resources found in default namespace.

Error: Kubernetes cluster unreachable

  on us-east-1-stage-test-helm.tf line 39, in resource "helm_release" "testchart":
  39: resource "helm_release" "testchart" {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment