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
- install plugin locally
$ make install
- terraform init
cd examples
rm -rf terraform.*
terraform init
- 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
- terraform apply(Read)
terraform apply
- terraform apply(Update)
echo "edit configuration in main.tf"
vim main.tf
terraform apply
- terraform destroy(Delete)
terraform destroy