Closed linde closed 1 month ago
some more about tf env
$ terraform init
Initializing the backend...
Initializing modules...
Initializing provider plugins...
- Reusing previous version of hashicorp/local from the dependency lock file
- Reusing previous version of hashicorp/random from the dependency lock file
- Reusing previous version of hashicorp/null from the dependency lock file
- Reusing previous version of hashicorp/external from the dependency lock file
- Reusing previous version of salrashid123/http-full from the dependency lock file
- Reusing previous version of hashicorp/helm from the dependency lock file
- Reusing previous version of tehcyx/kind from the dependency lock file
- Reusing previous version of hashicorp/google from the dependency lock file
- Using previously-installed hashicorp/helm v2.15.0
- Using previously-installed tehcyx/kind v0.6.0
- Using previously-installed hashicorp/google v5.44.1
- Using previously-installed hashicorp/local v2.5.2
- Using previously-installed hashicorp/random v3.6.3
- Using previously-installed hashicorp/null v3.2.3
- Using previously-installed hashicorp/external v2.3.4
- Using previously-installed salrashid123/http-full v1.3.1
Terraform has been successfully initialized!
no TF_ vars in my environment.
Thanks for the report @linde!
This appears to be specific to the asmcli
execution step. Can you re-run after adding the -v
flag to this line: https://github.com/GoogleCloudPlatform/anthos-samples/blob/main/anthos-attached-clusters/modules/attached-install-mesh/main.tf#L31? That will provide more verbose logging during the asmcli
execution.
Hi @linde - With the most recent version you can now use the asmcli_verbose = true
argument instead of needing to modify the actual Terraform.
hmm, the verbose error help me realized I had been configured for autopush in my cloudtop. thanks, will clear this up and re-validate.
ok, that was my problem. when I cleared my local cloud config data and logged in again it eventually work. "eventually" because I had to also set asmcli_enable_gcp_apis
to be true
. Thanks, very helpful verbose CLI logging!
tried a clean checkout of the code and supplied the following
terraform.tfvars
valueswhen running terraform apply things went well all the way up to the asmcli part. it failed at this point:
environment is:
verified I don't have asmcli in my path prior to running.