text
stringlengths
0
1.8k
**Gerhard Lazu:** Amazing. Okay.
**Dan Mangum:** Yeah, they're awesome.
**Gerhard Lazu:** Well, thank you very much. Let's how all it works. My favorite. Let's see what happens.
**Dan Mangum:** Right.
**Gerhard Lazu:** Excellent. What follows next is an hour-long pairing session with Dan, condensed into seven minutes. If you don't want to listen us two newbs figuring stuff out, skip ahead to the end result, when I talk through with one of the Terrajet creators, Muvaffak Onuş.
**Gerhard Lazu:** You used this template...
**Dan Mangum:** Mm-hm.
**Gerhard Lazu:** Okay... Why?
**Dan Mangum:** If you're intending to make this an open source project, that's a way to get started right off the bat.
**Gerhard Lazu:** So basically clone this, right?
**Dan Mangum:** If you click the Provider Jet template there, it will have a "Use this template" button, which means you can just create a new repo right from it.
**Gerhard Lazu:** Okay. Let's go for that.
**Dan Mangum:** Awesome.
**Gerhard Lazu:** Changelog... Perfect. Okay. First step, provide a Jet Linode. Clone the repository CD, replace Template with your provider name. Okay.
**Dan Mangum:** Yeah.
**Gerhard Lazu:** So where was the template?
**Dan Mangum:** \[55:52\] So all you're doing here is you're specifying what you want your provider name lower and upper to be, and then these commands are going to replace all instances of Template.
**Gerhard Lazu:** Ah, I see. Okay, I'm with you. Okay. Replace all the occurrences... I see. So now I just basically run this command. Okay.
**Dan Mangum:** I'm guessing that has to do with the name of the Terraform repo, potentially... But it says that it checked out line in the controller docker file. Look like a broken link, potentially...
**Gerhard Lazu:** Found. Cool. So that is the link that we should use. Perfect.
**Dan Mangum:** So it sounds like that just the Terraform provider Linode is what we're looking for there, if I look in the Docker file here and see how Terraform provider source is used.
**Gerhard Lazu:** It's adding this... I think it's --
**Dan Mangum:** I am a little confused about the difference between Terraform provider source and Terraform download name here, based on the Docker file that we're looking at...
**Gerhard Lazu:** Yeah.
**Dan Mangum:** It seems like they should be the same.
**Gerhard Lazu:** Yeah... I think they should be the same. I think you're right.
**Dan Mangum:** I think that might be getting Terraform itself, and installing it. Let's see if there is a --
**Gerhard Lazu:** Ah, yes. You're right, that is getting the Terraform itself. You're absolutely right. Okay, so this actually is the entire URL.
**Dan Mangum:** Right.
**Gerhard Lazu:** I think it's actually all of it... Ah, no. Maybe not. Because look at the location.
**Dan Mangum:** Yeah, it's just the URL prefix. So I think it's just --
**Gerhard Lazu:** It's this.
**Dan Mangum:** Yeah, exactly.
**Gerhard Lazu:** Okay, that makes sense. Cool. Okay, so this is the Changelog, this is Terraform provider Linode, and then that's it. v4 GitHub, I think.
**Dan Mangum:** Yeah. I'm confused a little bit about the v4 GitHub portion of that.
**Gerhard Lazu:** Mm-hm. Well, that was added there, so that means that there should be a GitHub... Um, not this one. This one, the Changelog.
**Dan Mangum:** It'd probably be helpful if we took a look at one of the -- potentially if some of the existing providers use this, and...
**Gerhard Lazu:** Mm-hm. So if we take this one -- is this public? It is. Cool. So GitHub - look at that. GitHub is there.
**Dan Mangum:** Yeah. So I think this is an example of, so I think you'd have Linode instead of GitHub, right?
**Gerhard Lazu:** Yeah, yeah.
**Dan Mangum:** But I'm not sure where the v4 is coming from necessarily. I didn't see that there.
**Gerhard Lazu:** Actually - yeah, it's v4 GitHub. That is interesting. You're right. I didn't see v4 either. So I've seen GitHub... I don't know where that's coming from, indeed. Okay, so if we come back to this... Maybe I'm not reading this right. The way I understand it, it's actually the Linode Terraform provider. ...
**Dan Mangum:** Yup.
**Gerhard Lazu:** This is what I think I need to provide. So it's basically this.
**Dan Mangum:** No, I think what you have potentially is right... Because I believe this is pointing to -- well, no. Is it using the Linode -- hold on one second, actually...
**Gerhard Lazu:** So in this example it was -- oh, yeah, you're right. No, actually no.
**Dan Mangum:** Here we go. This is helpful. So I'm dropping it in the Zoom chat here. This tells us where integrations is coming from, which is the Git repo. The org is called Integrations, that Terraform Provider GitHub is in. And then GitHub - they don't have the v4 in there though. I don't know where that's coming ...
**Gerhard Lazu:** Yeah, no... So I think there was something here, there was something in the documentation. Where was it? This one.
**Dan Mangum:** Oh, I know what it is. This is a Go package, and they have a v4 version. So that's just the import path for the Go package. So you can leave that out as long as the Linode provider is a normal Go package here.
**Gerhard Lazu:** \[59:54\] Look, that is the line... Found, downloading. So that pulls it from the right place. Okay, great. If your provider is using an old version... How do I know if it's using an old version? Oh, okay, I see. I was confused.