dikhan / terraform-provider-openapi

OpenAPI Terraform Provider that configures itself at runtime with the resources exposed by the service provider (defined in a swagger file)
Apache License 2.0
275 stars 48 forks source link

Upgrade to Go 1.17 #343

Closed dikhan closed 2 years ago

dikhan commented 2 years ago

Is your feature request related to a problem?

Terraform SDK v2.14.0 has been updated to Go 1.17 per the Go support policy. Any consumers building on earlier Go versions may experience errors and therefore the OpenAPI Terraform provider must be upgraded to comply with this requirement.

Each major Go release is supported until there are two newer major releases. For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported until the Go 1.8 release. It fixes critical problems, including critical security problems, in supported releases as needed by issuing minor revisions (for example, Go 1.6.1, Go 1.6.2, and so on). Go 1.18 was released on 15 Mar 2022 which means that 1.16 is not supported anymore.

More info at Go's Release Maintenance More details about end of life versions here

As an OpenAPI Terraform operator I want to integrate Go 1.17.x into the plugin So that I can integrate any patches for vulnerability found as needed.

Describe the solution you'd like

Integrate Go 1.17 in go mod and goreleaser as well as any references in the docs to the Go version required to use this plugin.

Acceptance criteria

What's required to consider this feature request complete?

Example:

Scenario:
Given .the OpenAPI Terraform provider 
When I integrate Go 1.17 in go mod and goreleaser
Then all the plugin should build find and all the unit and integration tests should pass

Describe alternatives you've considered

N/A

Additional context

Add any other context or screenshots about the feature request here.

Checklist (for admin only)

Don't forget to go through the checklist to make sure the issue is created properly: