Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: switch from Terraform Plugin SDK v2 to Terraform Plugin Framework #302

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
5eda846
feat: switch from Terraform Plugin SDK v2 to Terraform Plugin Framework
sorccu Nov 19, 2024
20de37a
fix: check 404 in all resource Read handlers and remove resource if n…
sorccu Nov 25, 2024
cb41030
feat: pump protocol version to 6.0
sorccu Nov 25, 2024
d9c8532
fix: tfplugindocs says that attributes with Default values must be Co…
sorccu Dec 3, 2024
98bcc82
feat: update doc generation script and update docs
sorccu Dec 3, 2024
a36062e
refactor: use a common ID attribute schema for all resource and data …
sorccu Dec 3, 2024
3df37b8
refactor: change heartbeat from legacy single-item Set to SingleNeste…
sorccu Dec 3, 2024
1c4aa86
refactor: move sdk utilities into a separate sdkutil package
sorccu Dec 3, 2024
36daf1d
refactor: start reorganizing files into a logical structure
sorccu Dec 3, 2024
4fb539e
refactor: use more accurate name for string set utility file
sorccu Dec 3, 2024
9c53f12
chore: remove files that have become unused
sorccu Dec 3, 2024
dc1869a
chore: go mod tidy
sorccu Dec 6, 2024
f03271a
feat: move component registration to a separate package
sorccu Dec 6, 2024
b5a674c
fix: ClientFromProviderData must allow nil ProviderData
sorccu Dec 6, 2024
44e087a
feat: add first provider tests
sorccu Dec 6, 2024
e17ef61
feat: convert static_ips data source tests
sorccu Dec 6, 2024
9f6dd5b
chore: remove old provider test file
sorccu Dec 6, 2024
1c19375
feat: convert snippet resource tests
sorccu Dec 6, 2024
7e915e3
chore: reorder imports so that our own code is in its own section
sorccu Dec 6, 2024
f01b286
feat: convert private_location resource tests
sorccu Dec 6, 2024
c4c8f40
feat: convert environment variable resource tests and fix behavior
sorccu Dec 6, 2024
0391be7
feat: convert the rest of the codebase with new abstractions
sorccu Jan 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ dev:
cd local && TF_LOG=TRACE terraform init -upgrade

fmt:
go fmt ./checkly
terraform fmt

doc:
./tools/tfplugindocs
go fmt ./...
terraform fmt -recursive

# Generate docs
generate:
go generate ./...
cd tools; go generate ./...
109 changes: 0 additions & 109 deletions checkly/data_source_static_ips.go

This file was deleted.

135 changes: 0 additions & 135 deletions checkly/data_source_static_ips_test.go

This file was deleted.

24 changes: 0 additions & 24 deletions checkly/error_with_log.go

This file was deleted.

20 changes: 0 additions & 20 deletions checkly/helpers.go

This file was deleted.

50 changes: 0 additions & 50 deletions checkly/integration_test.go

This file was deleted.

Loading
Loading