diff --git a/.github/workflows/generate_binaries_on_pr.yml b/.github/workflows/generate_binaries_on_pr.yml index d88671010..bee56740a 100644 --- a/.github/workflows/generate_binaries_on_pr.yml +++ b/.github/workflows/generate_binaries_on_pr.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 803829eec..5a485ad25 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -21,7 +21,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - - uses: outscale-dev/frieza-github-actions/frieza-clean@master + - uses: outscale/frieza-github-actions/frieza-clean@master with: access_key: ${{ secrets.OSC_ACCESS_KEY }} secret_key: ${{ secrets.OSC_SECRET_KEY }} @@ -29,7 +29,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Set up Python uses: actions/setup-python@v5 with: @@ -40,7 +40,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v3 with: - terraform_version: 1.6.5 + terraform_version: 1.9.8 terraform_wrapper: false - name: Build go test run: make test diff --git a/.github/workflows/nets_integ_tests.yml b/.github/workflows/nets_integ_tests.yml index 944f76162..ddb773a4d 100644 --- a/.github/workflows/nets_integ_tests.yml +++ b/.github/workflows/nets_integ_tests.yml @@ -21,7 +21,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - - uses: outscale-dev/frieza-github-actions/frieza-clean@master + - uses: outscale/frieza-github-actions/frieza-clean@master with: access_key: ${{ secrets.OSC_ACCESS_KEY }} secret_key: ${{ secrets.OSC_SECRET_KEY }} @@ -29,7 +29,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Set up Python uses: actions/setup-python@v5 with: @@ -40,7 +40,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v3 with: - terraform_version: 1.6.5 + terraform_version: 1.9.8 terraform_wrapper: false - name: Build go test run: make test diff --git a/.github/workflows/nets_testacc.yml b/.github/workflows/nets_testacc.yml index f2a7fb152..25fad2737 100644 --- a/.github/workflows/nets_testacc.yml +++ b/.github/workflows/nets_testacc.yml @@ -20,7 +20,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - - uses: outscale-dev/frieza-github-actions/frieza-clean@master + - uses: outscale/frieza-github-actions/frieza-clean@master with: access_key: ${{ secrets.OSC_ACCESS_KEY }} secret_key: ${{ secrets.OSC_SECRET_KEY }} @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Build go test run: make test env: diff --git a/.github/workflows/others_testacc.yml b/.github/workflows/others_testacc.yml index 6e0ca8a7d..442bca033 100644 --- a/.github/workflows/others_testacc.yml +++ b/.github/workflows/others_testacc.yml @@ -20,7 +20,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - - uses: outscale-dev/frieza-github-actions/frieza-clean@master + - uses: outscale/frieza-github-actions/frieza-clean@master with: access_key: ${{ secrets.OSC_ACCESS_KEY }} secret_key: ${{ secrets.OSC_SECRET_KEY }} @@ -28,12 +28,12 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v3 with: - terraform_version: 1.6.5 + terraform_version: 1.9.8 terraform_wrapper: false - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: local tests run: | wget https://github.com/outscale/osc-ricochet-2/releases/download/v0.2.0/osc-ricochet-2_v0.2.0_x86_64-unknown-linux-musl.tar.gz diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7aa9b5bb..b2ca7ed31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Import GPG key id: import_gpg diff --git a/.github/workflows/terraform_examples.yml b/.github/workflows/terraform_examples.yml index d985fa894..450a1f82e 100644 --- a/.github/workflows/terraform_examples.yml +++ b/.github/workflows/terraform_examples.yml @@ -29,7 +29,7 @@ jobs: region: ${{ secrets.OSC_REGION }} - uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Setup Terraform uses: hashicorp/setup-terraform@v3 with: diff --git a/.github/workflows/tofu_examples.yml b/.github/workflows/tofu_examples.yml index 3b495adc3..85975d09d 100644 --- a/.github/workflows/tofu_examples.yml +++ b/.github/workflows/tofu_examples.yml @@ -29,7 +29,7 @@ jobs: region: ${{ secrets.OSC_REGION }} - uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Setup OpenTofu uses: opentofu/setup-opentofu@v1 with: diff --git a/.github/workflows/vms_testacc.yml b/.github/workflows/vms_testacc.yml index 436f7b902..7586f6297 100644 --- a/.github/workflows/vms_testacc.yml +++ b/.github/workflows/vms_testacc.yml @@ -20,7 +20,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - - uses: outscale-dev/frieza-github-actions/frieza-clean@master + - uses: outscale/frieza-github-actions/frieza-clean@master with: access_key: ${{ secrets.OSC_ACCESS_KEY }} secret_key: ${{ secrets.OSC_SECRET_KEY }} @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Build go test run: make test env: diff --git a/go.mod b/go.mod index 316b57bc8..3986d7fce 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/outscale/terraform-provider-outscale -go 1.22.0 +go 1.23.4 require ( github.com/aws/aws-sdk-go v1.55.5 @@ -13,7 +13,7 @@ require ( github.com/hashicorp/terraform-plugin-mux v0.12.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0 github.com/nav-inc/datetime v0.1.3 - github.com/outscale/osc-sdk-go/v2 v2.23.0 + github.com/outscale/osc-sdk-go/v2 v2.24.0 github.com/spf13/cast v1.6.0 github.com/tidwall/gjson v1.18.0 ) @@ -61,7 +61,7 @@ require ( golang.org/x/crypto v0.23.0 // indirect golang.org/x/mod v0.12.0 // indirect golang.org/x/net v0.25.0 // indirect - golang.org/x/oauth2 v0.22.0 // indirect + golang.org/x/oauth2 v0.24.0 // indirect golang.org/x/sys v0.20.0 // indirect golang.org/x/text v0.15.0 // indirect google.golang.org/appengine v1.6.8 // indirect diff --git a/go.sum b/go.sum index d850c36fa..a6e626b70 100644 --- a/go.sum +++ b/go.sum @@ -142,8 +142,8 @@ github.com/nav-inc/datetime v0.1.3 h1:PaybPUsScX+Cd3TEa1tYpfwU61deCEhMTlCO2hONm1 github.com/nav-inc/datetime v0.1.3/go.mod h1:gKGf5G+cW7qkTo5TC/sieNyz6lYdrA9cf1PNV+pXIOE= 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/outscale/osc-sdk-go/v2 v2.23.0 h1:Ib134+ThQHmMtURcMTD9eTiAKeF1gSufbH3RdYa9+bY= -github.com/outscale/osc-sdk-go/v2 v2.23.0/go.mod h1:kzhtUErCzKYl87bZ+kDMphDafmnwbsyFJY9iHF7NgNE= +github.com/outscale/osc-sdk-go/v2 v2.24.0 h1:4M0gJgYRKJQhIo5oZbiEbfuBv/Ls6iHaUyrEiBAbjYM= +github.com/outscale/osc-sdk-go/v2 v2.24.0/go.mod h1:kzhtUErCzKYl87bZ+kDMphDafmnwbsyFJY9iHF7NgNE= github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -204,8 +204,8 @@ golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA= -golang.org/x/oauth2 v0.22.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= +golang.org/x/oauth2 v0.24.0 h1:KTBBxWqUa0ykRPLtV69rRto9TLXcqYkeswu48x/gvNE= +golang.org/x/oauth2 v0.24.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=