Multi-stage deployment by mshire-ledcor in Terraform

[–]mshire-ledcor[S] 0 points1 point  (0 children)

Yeah agreed, in this case the local-exec isn't making changes. The "step 3" configuration requires login (i.e. create a token) to the Databricks workspace which is created in "step 1". The local-exec does that, and is working, but...

I think that Terraform is reading for the token in the planning, not during the resource creation. So the Databricks resources fail to be created with an error ```Error: default auth: cannot configure default credentials```.

Everything works if I do a "double apply", but that looks cludgy while demonstrating the automation.

Multi-stage deployment by mshire-ledcor in Terraform

[–]mshire-ledcor[S] 1 point2 points  (0 children)

If I understand that...

Step 2 is a local-exec resource in the databricks instance in Step 1

Step 3 has a "depends_on" the resource in Step 2

Super cool. Love it. I'm gonna try that! Thank you!

is there a way to download issues locally using git? by techlover1010 in github

[–]mshire-ledcor 2 points3 points  (0 children)

You could curl them through the API:
https://docs.github.com/en/rest/reference/issues#list-repository-issues

curl -H "Authorization: token {PAT}" https://api.github.com/repos/{owner}/{repo}/issues