[Learn Lab] Create a Terraform provider with the Plugin Framework

  Рет қаралды 5,084

HashiCorp

HashiCorp

Күн бұрын

Create a Terraform provider with HashiCorp’s Plugin Framework. Terraform providers let you manage resources via their underlying product APIs. The Plugin Framework is a Go SDK you will use to develop your own Terraform providers.
In this lab, you will create a Terraform provider for an example application. Once you know how to use the Framework, you can use it to create Terraform providers for your company’s products, internal services, and third-party applications.
Follow along with these tutorials at developer.hash...
We also have a "follow along" repo here with each step in a separate directory: github.com/has...
Speaker: Robin Norwood
Subscribe to our KZbin Channel → www.youtube.co...
For hands-on interactive labs, visit HashiCorp Developer → developer.hash...
HashiCorp provides infrastructure automation software for multi-cloud environments, enabling enterprises to unlock a common cloud operating model to provision, secure, connect, and run any application on any infrastructure. HashiCorp tools Vagrant, Packer, Terraform, Vault, Consul, Nomad, Boundary, and Waypoint allow organizations to deliver applications faster by helping enterprises transition from manual processes and ITIL practices to self-service automation and DevOps practices.
For more information → hashicorp.com
Twitter → / hashicorp
LinkedIn → / hashicorp
Facebook → / hashicorp

Пікірлер: 23
@zhenqili9732
@zhenqili9732 Ай бұрын
Charming and interesting explanation, thank you
@gabesusman4592
@gabesusman4592 2 ай бұрын
TIMELINE: High level terraform provider overview: 0:15 Lab starts 7:10
@NileshAkhade
@NileshAkhade 8 ай бұрын
Robin should have focused on implenting resource's Update() operation.
@HashiCorp
@HashiCorp 8 ай бұрын
We couldn’t cover everything about provider development in-depth in a one-hour session, but you can learn more about the Update operation in the documentation ( developer.hashicorp.com/terraform/plugin/framework/resources/update ) and in our provider framework tutorial series ( developer.hashicorp.com/terraform/tutorials/providers-plugin-framework )
@GauravAgarwalR
@GauravAgarwalR 5 ай бұрын
@@HashiCorp so youtube comments disregards the starting brace, but fails to remove the closing brace. In case any one is getting a 404 on clicking, check the URL in browser.
@HashiCorp
@HashiCorp 5 ай бұрын
Thanks for calling that out, added a space and they seem to be working now!
@maxolande7431
@maxolande7431 6 ай бұрын
would have been awesome if you implemented the solution with Typescript CDK for Terraform
@dus10dnd
@dus10dnd 4 ай бұрын
A link to the repository in the info section would be great.
@HashiCorp
@HashiCorp 4 ай бұрын
Follow along with these tutorials at developer.hashicorp.com/terraform/tutorials/providers-plugin-framework We also have a "follow along" repo here with each step in a separate directory: github.com/hashicorp/terraform-provider-hashicups/tree/main
@harshas9367
@harshas9367 6 ай бұрын
There is no lock file created upon terraform plan, .tf file not recognizing local file but trying to connect to registry
@HashiCorp
@HashiCorp 6 ай бұрын
Apologies for any errors during this live presentation! Hopefully the links below can help. Here is some documentation on dependency lock: developer.hashicorp.com/terraform/language/files/dependency-lock If Terraform is trying to connect to the registry, it's possible there is something wrong with your setup of ~/.terraformrc , shown at 21:10. The setup is slightly different for windows, you can find instructions in the windows tab of the tutorial: developer.hashicorp.com/terraform/tutorials/providers-plugin-framework/providers-plugin-framework-provider#prepare-terraform-for-local-provider-install Or in the documentation: developer.hashicorp.com/terraform/cli/config/config-file
@lemur8217
@lemur8217 6 ай бұрын
Think i got the same message as you. If you are using windows, try replacing the in the terraform.rc file to "/users/"username"/go/bin" instead of "C:\users\"username"\go\bin". "username" will ofc be replace by your actual username :)
@harshas9367
@harshas9367 6 ай бұрын
@@lemur8217 so, do you have hashicups binary at "users/username/go/bin" and go also installed at the same place? I am using linux btw
@harshas9367
@harshas9367 6 ай бұрын
@@lemur8217 , I am using linux and path is /home/username/go/bin where the binary is present but terraform cannot recognize it
@harshas9367
@harshas9367 6 ай бұрын
Got it, I hadn't kept .terraformrc in the right path
@lemur8217
@lemur8217 6 ай бұрын
The typo mentioned ad 39:42, still isn't fixed :P
@HashiCorp
@HashiCorp 6 ай бұрын
Thanks so much for calling that out! Fix has been deployed: developer.hashicorp.com/terraform/tutorials/providers-plugin-framework/providers-plugin-framework-provider-configure#implement-temporary-data-source
@GauravAgarwalR
@GauravAgarwalR 5 ай бұрын
Are the slides available?
@HashiCorp
@HashiCorp 4 ай бұрын
Hello, thanks for your interest in this session! As part of our speaker agreements, we do not share slides from our user conference sessions. For this particular presentation, we encourage you to check out our tutorials page: developer.hashicorp.com/terraform/tutorials/providers-plugin-framework
@SectorFoxx
@SectorFoxx 6 ай бұрын
you never fixed the file path error in the coffee_data_source.go file
@HashiCorp
@HashiCorp 6 ай бұрын
Apologies for any errors during this live presentation! Here is a tutorial with detailed and tested instructions: developer.hashicorp.com/terraform/tutorials/providers-plugin-framework/providers-plugin-framework-provider
@SectorFoxx
@SectorFoxx 6 ай бұрын
@@HashiCorp this was an error in the documentation the speaker said they would fix and is not fixed
@HashiCorp
@HashiCorp 6 ай бұрын
@@SectorFoxx Was that the one mentioned at 39:42? If so, a fix was just rolled out so please let us know if you're still having issues.
Creating a Terraform Provider for Just About Anything
35:28
HashiCorp
Рет қаралды 20 М.
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
مسبح السرير #قصير
00:19
سكتشات وحركات
Рет қаралды 11 МЛН
Terraform Basics: Provider Plugins
6:53
Ned in the Cloud
Рет қаралды 1,5 М.
How to Write a Modern Terraform Provider: Tools and Patterns
28:34
Terraform Providers and the Terraform Plugin Framework with Jacob Bednarz
1:08:22
When, Why, and How to Use the CDK for Terraform
42:12
HashiCorp
Рет қаралды 12 М.
Automate Homelab Deployment With Terraform & Proxmox
26:22
Jim's Garage
Рет қаралды 64 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 56 М.
The 4  Primary Vault Use Cases
22:55
HashiCorp
Рет қаралды 17 М.
2 1 0 Setup Skeleton for Custom Terraform Provider
58:27
Get in the (landing) zone with Terraform on Azure
28:50
HashiCorp
Рет қаралды 4,2 М.