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

Updated go.mod and go.sum with latest go sdk #631

Merged
merged 3 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.23
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.56.1
version: v1.63.4
args: --issues-exit-code=1 --verbose
only-new-issues: true
skip-pkg-cache: true
skip-build-cache: true
skip-cache: true
skip-save-cache: true
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.23
-
name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.56.1
version: v1.63.4
args: --issues-exit-code=1
skip-pkg-cache: true
skip-build-cache: true
skip-cache: true
skip-save-cache: true
-
name: Import GPG key
id: import_gpg
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Requirements
------------

- [Terraform](https://www.terraform.io/downloads.html) 0.12.x/0.13+ (0.11.x or lower is incompatible)
- [Go](https://golang.org/doc/install) 1.22.6 (to build the provider plugin)
- [Go](https://golang.org/doc/install) 1.23.4 (to build the provider plugin)

Building The Provider (Terraform v0.12+)
----------------------------------------
Expand Down
9 changes: 0 additions & 9 deletions avi/data_source_avi_controllerproperties_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,8 @@ func TestAVIDataSourceControllerPropertiesBasic(t *testing.T) {
"avi_controllerproperties.testControllerProperties", "enable_memory_balancer", "true"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "max_dead_se_in_grp", "1"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "seupgrade_fabric_pool_size", "20"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "vs_key_rotate_period", "60"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "seupgrade_segroup_min_dead_timeout", "360"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "upgrade_lease_time", "360"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "se_create_timeout", "900"),
resource.TestCheckResourceAttr(
Expand Down Expand Up @@ -125,10 +119,7 @@ resource "avi_controllerproperties" "testControllerProperties" {
max_pcap_per_tenant = "4"
enable_memory_balancer = true
max_dead_se_in_grp = "1"
seupgrade_fabric_pool_size = "20"
vs_key_rotate_period = "60"
seupgrade_segroup_min_dead_timeout = "360"
upgrade_lease_time = "360"
se_create_timeout = "900"
query_host_fail = "180"
bm_use_ansible = true
Expand Down
12 changes: 0 additions & 12 deletions avi/resource_avi_controllerproperties_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ func TestAVIControllerPropertiesBasic(t *testing.T) {
"avi_controllerproperties.testControllerProperties", "seupgrade_fabric_pool_size", "20"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "vs_key_rotate_period", "60"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "seupgrade_segroup_min_dead_timeout", "360"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "upgrade_lease_time", "360"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "se_create_timeout", "900"),
resource.TestCheckResourceAttr(
Expand Down Expand Up @@ -139,10 +135,6 @@ func TestAVIControllerPropertiesBasic(t *testing.T) {
"avi_controllerproperties.testControllerProperties", "seupgrade_fabric_pool_size", "20"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "vs_key_rotate_period", "60"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "seupgrade_segroup_min_dead_timeout", "360"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "upgrade_lease_time", "360"),
resource.TestCheckResourceAttr(
"avi_controllerproperties.testControllerProperties", "se_create_timeout", "900"),
resource.TestCheckResourceAttr(
Expand Down Expand Up @@ -246,8 +238,6 @@ resource "avi_controllerproperties" "testControllerProperties" {
max_dead_se_in_grp = "1"
seupgrade_fabric_pool_size = "20"
vs_key_rotate_period = "60"
seupgrade_segroup_min_dead_timeout = "360"
upgrade_lease_time = "360"
se_create_timeout = "900"
query_host_fail = "180"
bm_use_ansible = true
Expand Down Expand Up @@ -294,8 +284,6 @@ resource "avi_controllerproperties" "testControllerProperties" {
max_dead_se_in_grp = "1"
seupgrade_fabric_pool_size = "20"
vs_key_rotate_period = "60"
seupgrade_segroup_min_dead_timeout = "360"
upgrade_lease_time = "360"
se_create_timeout = "900"
query_host_fail = "180"
bm_use_ansible = true
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module github.com/vmware/terraform-provider-avi

go 1.22
go 1.23.2

toolchain go1.22.6
toolchain go1.23.4

require (
github.com/hashicorp/terraform-plugin-sdk/v2 v2.20.0
github.com/vmware/alb-sdk v0.0.0-20240605102317-cc857152bc67
github.com/vmware/alb-sdk v0.0.0-20250204180729-3538c8c2fac5
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ github.com/vmihailenco/msgpack/v4 v4.3.12 h1:07s4sz9IReOgdikxLTKNbBdqDMLsjPKXwvC
github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4=
github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY=
github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
github.com/vmware/alb-sdk v0.0.0-20240605102317-cc857152bc67 h1:AbMBmnIbvNTVS6u94U14BKABMNkmPaSFwFXzXOr4fE0=
github.com/vmware/alb-sdk v0.0.0-20240605102317-cc857152bc67/go.mod h1:fuRb4saDY/xy/UMeMvyKYmcplNknEL9ysaqYSw7reNE=
github.com/vmware/alb-sdk v0.0.0-20250204180729-3538c8c2fac5 h1:ODgT4czAkb5ZeSfFHxEO7T7cjzr/dPV1zdb5b7ofAVI=
github.com/vmware/alb-sdk v0.0.0-20250204180729-3538c8c2fac5/go.mod h1:JIJgWAdD+NzyGU/cC5FOl7D8jXsNDuaAoi3zZtdGiMY=
github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI=
github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0=
github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s=
Expand Down
Loading