text
stringlengths
0
1.8k
[3514.44 --> 3515.26] So I've seen GitHub.
[3515.64 --> 3516.86] I don't know where that's coming from indeed.
[3517.14 --> 3517.32] Okay.
[3517.42 --> 3518.60] So if we come back to this.
[3518.66 --> 3518.80] Let me.
[3518.88 --> 3520.00] Maybe I'm not reading this right.
[3520.32 --> 3521.36] The way I understand it.
[3521.40 --> 3523.46] It's actually the Linode Terraform provider.
[3523.96 --> 3524.76] It's this one.
[3525.08 --> 3526.18] That I'm linking to.
[3526.70 --> 3526.80] Yep.
[3526.86 --> 3527.32] This is it.
[3527.84 --> 3529.46] This is what I think I need to provide.
[3529.58 --> 3530.28] So it's.
[3530.84 --> 3531.88] It's basically this.
[3532.60 --> 3533.56] Well, I think actually.
[3533.70 --> 3535.60] No, I think what you have potentially is right.
[3535.68 --> 3535.86] Right.
[3535.90 --> 3538.26] Because I believe this is pointing to.
[3538.92 --> 3539.32] Well, no.
[3539.40 --> 3541.68] Is it using the Linode?
[3541.78 --> 3542.44] Hold on one second.
[3542.56 --> 3542.84] Actually.
[3544.48 --> 3545.42] This example.
[3545.64 --> 3546.06] It was.
[3546.72 --> 3547.56] Yeah, you're right.
[3548.14 --> 3548.70] No, actually.
[3548.82 --> 3549.02] No.
[3549.68 --> 3550.30] Here we go.
[3550.64 --> 3551.14] This is.
[3551.20 --> 3552.22] This is helpful.
[3552.22 --> 3555.40] So I'm dropping it in Zoom chat here.
[3555.40 --> 3557.94] This tells us where integrations is coming from.
[3558.88 --> 3561.04] Which is the Git repo.
[3561.38 --> 3565.28] The org is called integrations that Terraform provider GitHub is in.
[3565.68 --> 3566.30] And then GitHub.
[3567.38 --> 3567.66] Eh.
[3567.66 --> 3569.42] They don't have the V4 in there, though.
[3569.58 --> 3569.70] Yeah, no.
[3569.70 --> 3570.94] I don't know what that's coming from.
[3571.18 --> 3571.44] But.
[3571.44 --> 3575.60] So I think there was something here.
[3575.68 --> 3577.46] There was something in the documentation.
[3577.62 --> 3578.04] Where was it?
[3578.32 --> 3579.36] I know what it is.
[3579.48 --> 3579.70] It's.
[3580.10 --> 3581.16] This is a Go package.
[3581.56 --> 3584.10] And they have a V4 version.
[3584.56 --> 3584.90] Right.
[3584.90 --> 3588.02] And so that's just the import path for the Go package.
[3588.14 --> 3593.50] So you can leave that out as long as the Linode provider is a normal Go package here.
[3594.12 --> 3594.58] Look.
[3595.08 --> 3596.64] That is the line.
[3596.90 --> 3597.40] Mm-hmm.
[3597.66 --> 3598.14] Downloading.
[3598.26 --> 3599.06] Found downloading.
[3599.28 --> 3601.12] So that pulls it from the right place.
[3601.64 --> 3602.00] Okay.
[3602.72 --> 3603.10] Great.
[3603.68 --> 3608.14] If your provider is an old version, how do I know if it's using an old version?
[3608.92 --> 3609.18] Oh.
[3609.60 --> 3610.04] Okay.
[3610.12 --> 3610.42] I see.
[3611.30 --> 3611.98] I was confused.
[3612.10 --> 3612.62] Go mode vendor.
[3612.62 --> 3619.02] I believe you need an actual replace stanza down there at the bottom.
[3619.66 --> 3620.12] You think?
[3620.56 --> 3621.28] I believe so.
[3621.92 --> 3622.22] Okay.
[3622.34 --> 3623.18] This is a require.
[3623.44 --> 3627.16] So the way I understand it, I need to replace this with this.
[3627.58 --> 3628.06] No.
[3628.06 --> 3633.14] I believe that you'll have a dependency there on HashiCorp Terraform plugin SDK.
[3633.90 --> 3638.42] And then you'll have a replace statement at the bottom of the Go mod that indicates you
[3638.42 --> 3644.68] want to replace that dependency that's in your require with the fork there that Hassan has.
[3645.26 --> 3645.52] Okay.
[3645.52 --> 3650.06] So you're saying that all I need to do is comment out this line, this replace.
[3650.90 --> 3651.26] Yep.
[3651.34 --> 3653.36] That should be what we're looking for here.
[3654.16 --> 3654.58] Okay.
[3654.58 --> 3657.26] I wasn't sure that Go mod supports this.
[3657.64 --> 3657.90] Yep.
[3658.06 --> 3658.42] But okay.
[3658.50 --> 3658.76] Replace statements.
[3659.70 --> 3659.96] Yeah.
[3660.34 --> 3660.70] Okay.
[3661.00 --> 3661.52] Go more tidy.
[3662.98 --> 3670.02] I believe here is where we need to set up whatever the credentials are needed to talk to Linode.
[3670.54 --> 3671.12] I see.
[3671.36 --> 3675.04] So we may want to do the same thing that the Terraform provider is doing.
[3677.04 --> 3677.64] But...
[3677.64 --> 3678.94] I see what you mean.
[3679.02 --> 3679.24] Okay.
[3679.32 --> 3679.78] I'm with you.
[3680.08 --> 3682.90] So the only thing that we really need is a key.
[3684.34 --> 3685.12] To talk to Linode?
[3685.76 --> 3686.02] Yeah.
[3686.20 --> 3686.98] That's the only thing.
[3687.30 --> 3687.62] Cool.
[3688.14 --> 3693.56] I would call it CLI token because that maps it to what the Linode CLI expected to be.