Git Product home page Git Product logo

Comments (9)

brimdor avatar brimdor commented on June 3, 2024 1

also, not sure if its related but is it normal for this last line to hang out for about 30 minutes?

go: downloading go.opencensus.io v0.23.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e

I have experienced this every time and its hit or miss if it will fail to complete after this. It may not be part of that key issue but it does involve cloudflare which had me wondering if it's connected some how.

from homelab.

khuedoan avatar khuedoan commented on June 3, 2024

Did you created the organization on Terraform Cloud (prerequisite step in the docs)?

from homelab.

brimdor avatar brimdor commented on June 3, 2024

yes, originally had "brimdor" which I've had this whole time without issue. Went ahead and created a new one, same issue with the new one.
Also created a third one called brimdor-homelab. Figured I could stick with that one if I need to.
Setting for the homelab-external are set to local.

from homelab.

brimdor avatar brimdor commented on June 3, 2024

Where I am stumped is I don't recall the automation ever asking for terraform api or username/password. How is it getting access? Cloudflare?

from homelab.

brimdor avatar brimdor commented on June 3, 2024

~/.terraform.d/credentials.tfrc.json - this wasn't rotating to the latest api key automatically. So I applied one manually and everything worked. Unfortunately, this interrupts automation. Not sure what caused it. Especially when I would start from scratch and the file wouldn't even exist to start.

from homelab.

khuedoan avatar khuedoan commented on June 3, 2024

It only requests a login if the file does not exist:

~/.terraform.d/credentials.tfrc.json:
terraform login

from homelab.

brimdor avatar brimdor commented on June 3, 2024

ah gotcha, yeah thats the line I stumbled across that helped me find the key so I can replace it. Once I replaced it, I no longer got the original error I posted. In the future, would it be better to delete the file as a wipe down and clean up process before starting again? Maybe that can be added to the automation?

from homelab.

khuedoan avatar khuedoan commented on June 3, 2024

Would it be better to delete the file as a wipe down and clean up process before starting again

I don't think we should delete the existing configuration file; if it was me, I wouldn't want any project to delete a configuration file which can be used for other projects.

also, not sure if its related but is it normal for this last line to hang out for about 30 minutes?

I think it's waiting for the test to pass. I'd like to make the output simpler to understand, but I don't have the time yet.

from homelab.

khuedoan avatar khuedoan commented on June 3, 2024

Closing due to inactivity.

from homelab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.