Skip to content

Commit

Permalink
update opslevel go and add build task
Browse files Browse the repository at this point in the history
  • Loading branch information
rocktavious committed Oct 28, 2024
1 parent 3ddb840 commit 23295a0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 23295a0

Please sign in to comment.