From 23295a07ad987b5aeb9cba4feaa54623cb98adbd Mon Sep 17 00:00:00 2001 From: Rocktavious Date: Mon, 28 Oct 2024 09:42:47 -0500 Subject: [PATCH] update opslevel go and add build task --- Taskfile.yml | 7 +++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 1c2cb37a..8d0f2105 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -144,6 +144,13 @@ tasks: - task: terraform:terraform-command vars: { TF_COMMAND: 'destroy -auto-approve', TF_CMD_DIR: "{{.WORKSPACE_DIR}}" } + terraform-build: + desc: Rebuild provider + aliases: ["build"] + cmds: + - task: terraform:setup-terraform-from + vars: { SETUP_DIR: "{{.WORKSPACE_DIR}}" } + terraform-plan: desc: Rebuild and run "terraform plan" in "{{.WORKSPACE_DIR}}" aliases: ["plan"] diff --git a/go.mod b/go.mod index 23ae2a8d..2fbbbb90 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/hashicorp/terraform-plugin-framework v1.12.0 github.com/hashicorp/terraform-plugin-framework-validators v0.14.0 github.com/hashicorp/terraform-plugin-log v0.9.0 - github.com/opslevel/opslevel-go/v2024 v2024.10.15 + github.com/opslevel/opslevel-go/v2024 v2024.10.28 github.com/relvacode/iso8601 v1.5.0 golang.org/x/net v0.30.0 ) diff --git a/go.sum b/go.sum index caf88f08..e4c139b5 100644 --- a/go.sum +++ b/go.sum @@ -94,8 +94,8 @@ github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= github.com/opslevel/moredefaults v0.0.0-20240529152742-17d1318a3c12 h1:OQZ3W8kbyCcdS8QUWFTnZd6xtdkfhdckc7Paro7nXio= github.com/opslevel/moredefaults v0.0.0-20240529152742-17d1318a3c12/go.mod h1:g2GSXVP6LO+5+AIsnMRPN+BeV86OXuFRTX7HXCDtYeI= -github.com/opslevel/opslevel-go/v2024 v2024.10.15 h1:ohWQQ38rKljeTtJHERC3YVO3vpJ9tVnuyCQZ9SO7R98= -github.com/opslevel/opslevel-go/v2024 v2024.10.15/go.mod h1:mSnWBEKMAgP4y5/U7GIt3ZXY7lO8cu6MQtrxRzeGpQg= +github.com/opslevel/opslevel-go/v2024 v2024.10.28 h1:m12Oe7Qr0ZooZL8QnvyIDJ70K3OVmpDE+eNZagqcNv0= +github.com/opslevel/opslevel-go/v2024 v2024.10.28/go.mod h1:34kLE/rM0i+alFg52micZnkYA7T63xfD/LaigQHldrk= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=