Skip to content

Unofficial Demo for Terraform-Plugin-Framework

Notifications You must be signed in to change notification settings

task4233/terraform-plugin-framework-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform-Plugin-Framework-Demo

This is an unofficial demo for Terraform-Plugin-Framework which is a new SDK under active development. You might be able to get further information in Official GitHub Repository.

※ This plugin needs Terraform CLI v1.0 or later. ref: Terraform Plugin Framework

How to Use

  1. install plugin locally
$ make install
  1. terraform init
cd examples
rm -rf terraform.*
terraform init
  1. terraform apply(Create)
echo "running demo server for serving data"
go run ../demo-server/main.go
echo "invoke `terraform apply` on another shell"
terraform apply
  1. terraform apply(Read)
terraform apply
  1. terraform apply(Update)
echo "edit configuration in main.tf"
vim main.tf
terraform apply
  1. terraform destroy(Delete)
terraform destroy

Useful Information