Creating k8s cluster using terraform provider

#1

I’d like to try creating k8s cluster using terraform. Terraform provider was just added two weeks ago in “feat: k8s resource” PR on GitHub. I’d like to try it out, but it’s not released yet.

How can I use scaleway terraform provider from master? I understand I need to tell terraform “instead of downloading a stable version, please, use terraform-scaleway-provider from master branch on GitHub” or smth. I just don’t know how to do it.

#2

Figured it out. If anyone is looking how to do it, here’s what was done:

mkdir -p ~/go/src/github.com/terraform-providers; cd ~/go/src/github.com/terraform-providers
cd ~/go/src/github.com/terraform-providers
make
cp ~/go/bin/terraform-provider-scaleway ~/path/my/work/dir/with/terraform/configs
#3

@gmile The new scaleway TF provider was released yesterday, no need to build it on your own anymore :wink:

1 Like
#4

Yes, saw that! Great success! :smiley: