Skip to content

Commit

Permalink
bridge TF version v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
thulasirajkomminar committed Sep 12, 2024
1 parent e020f77 commit cbcc051
Show file tree
Hide file tree
Showing 14 changed files with 130 additions and 105 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
6.0.x
3.1.301
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOVERSION: 1.22.x
GOVERSION: 1.23.x
NODEVERSION: 20.x
PYTHONVERSION: "3.11"
TF_APPEND_USER_AGENT: pulumi
Expand All @@ -41,7 +41,7 @@ jobs:
with:
cache-dependency-path: |
sdk/go.sum
go-version: 1.22.x
go-version: ${{ env.GOVERSION }}

- name: Install pulumictl
uses: jaxxstorm/[email protected]
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
with:
cache-dependency-path: |
sdk/go.sum
go-version: 1.22.x
go-version: ${{ env.GOVERSION }}

- name: Install pulumictl
uses: jaxxstorm/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fail-fast: true
matrix:
goversion:
- 1.22.x
- 1.23.x
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
dotnetversion:
- 6.0.x
goversion:
- 1.22.x
- 1.23.x
nodeversion:
- 20.x
pythonversion:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CHANGELOG
=========

## [1.2.2] - 2024-09-12

### Added:

* Added [retry mechanism](github.com/hashicorp/go-retryablehttp) to retry InfluxDB v3 API request at least 3 times before erroring.

## [1.2.1] - 2024-08-21

### Added:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PROJECT := github.com/komminarlabs/pulumi-influxdb3
NODE_MODULE_NAME := @komminarlabs/influxdb3
TF_NAME := influxdb3
PROVIDER_PATH := provider
PROVIDER_VERSION := 1.2.1
PROVIDER_VERSION := 1.2.2
VERSION_PATH := ${PROVIDER_PATH}/pkg/version.Version

TFGEN := pulumi-tfgen-influxdb3
Expand All @@ -22,7 +22,7 @@ GO_MINOR_VERSION := $(shell go version | cut -c 14- | cut -d' ' -f1 | cut -d'.'
# the (local) version must match the version specified in .github/workflows/release.yml
# otherwise publkishing the Go SDK of the provider will fail
REQUIRED_GO_MAJOR_VERSION := 1
REQUIRED_GO_MINOR_VERSION := 22
REQUIRED_GO_MINOR_VERSION := 23
GO_VERSION_VALIDATION_ERR_MSG := Golang version $(REQUIRED_GO_MAJOR_VERSION).$(REQUIRED_GO_MINOR_VERSION) is required

.PHONY: development provider build_sdks build_nodejs build_dotnet build_go build_python cleanup validate_go_version
Expand Down
2 changes: 1 addition & 1 deletion provider/cmd/pulumi-resource-influxdb3/schema-embed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ require (
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/klauspost/compress v1.16.7 // indirect
github.com/komminarlabs/influxdb3 v0.1.0 // indirect
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.1 // indirect
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.2 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1357,8 +1357,8 @@ github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQs
github.com/kolo/xmlrpc v0.0.0-20201022064351-38db28db192b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM=
github.com/komminarlabs/influxdb3 v0.1.0 h1:C/Ka8mzYABMXZIAjvZYw+ZXlk0jo6u9shJ7vPgKoseo=
github.com/komminarlabs/influxdb3 v0.1.0/go.mod h1:yEFMuSRwwd1/nO9tKtc1HapjEm5h1Ac/3+or3ckkURE=
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.1 h1:DHRUMPfoqis7GcsJTiK8xc68WE/UxKmHzkHrZ4w5Rvs=
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.1/go.mod h1:w8P/TgdYA5dtoba+5ELEzXEzz8gEiqmcfPFJ3gtEUuU=
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.2 h1:Z6mIeg4tiLU0dtuF8cdzVEGVxjkC7eRHnnQ9ehEzz3s=
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.2/go.mod h1:id8YiWqrmfghW6XexKh2M085essYOXrpN3T0LvrufmQ=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
Expand Down
4 changes: 3 additions & 1 deletion provider/shim/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ go 1.22.2

require (
github.com/hashicorp/terraform-plugin-framework v1.11.0
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.1
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.2
)

require (
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
github.com/hashicorp/terraform-plugin-framework-validators v0.13.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions provider/shim/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbg
github.com/juju/gnuflag v0.0.0-20171113085948-2ce1bb71843d/go.mod h1:2PavIy+JPciBPrBUjwbNvtwB6RQlve+hkpll6QSNmOE=
github.com/komminarlabs/influxdb3 v0.1.0 h1:C/Ka8mzYABMXZIAjvZYw+ZXlk0jo6u9shJ7vPgKoseo=
github.com/komminarlabs/influxdb3 v0.1.0/go.mod h1:yEFMuSRwwd1/nO9tKtc1HapjEm5h1Ac/3+or3ckkURE=
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.1 h1:DHRUMPfoqis7GcsJTiK8xc68WE/UxKmHzkHrZ4w5Rvs=
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.1/go.mod h1:w8P/TgdYA5dtoba+5ELEzXEzz8gEiqmcfPFJ3gtEUuU=
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.2 h1:Z6mIeg4tiLU0dtuF8cdzVEGVxjkC7eRHnnQ9ehEzz3s=
github.com/komminarlabs/terraform-provider-influxdb3 v1.2.2/go.mod h1:id8YiWqrmfghW6XexKh2M085essYOXrpN3T0LvrufmQ=
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
Expand Down
4 changes: 4 additions & 0 deletions sdk/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The InfluxDB V3 Resource Provider lets you manage [InfluxDB V3](https://www.influxdata.com/products/influxdb-overview/#overview) resources.

## Supported InfluxDB flavours

* [InfluxDB Cloud Dedicated](https://www.influxdata.com/products/influxdb-cloud/dedicated/)

## Installing

This package is available for several languages/platforms:
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0-alpha.1723580008+1a720995.dirty
1.3.0-alpha.1724696180+e020f774.dirty
4 changes: 4 additions & 0 deletions sdk/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The InfluxDB V3 Resource Provider lets you manage [InfluxDB V3](https://www.influxdata.com/products/influxdb-overview/#overview) resources.

## Supported InfluxDB flavours

* [InfluxDB Cloud Dedicated](https://www.influxdata.com/products/influxdb-cloud/dedicated/)

## Installing

This package is available for several languages/platforms:
Expand Down
Loading

0 comments on commit cbcc051

Please sign in to comment.