github outscale/terraform-provider-outscale v1.7.0

5 hours ago

Release v1.7.0

Changes

OKS CRD deployment

A new outscale_oks_manifest resource lets you deploy Kubernetes manifests directly through the provider using a YAML document and an OKS cluster_id.

This resource allows users to deploy any OKS CRDs, including NodePool, NetPeering, and future CRDs. It automatically fetches the Kubeconfig and can apply both cluster-scoped and namespace-scoped resources without requiring a separate Kubernetes provider configuration.

CRD templates and kubeconfig attributes

Two OKS usability improvements were added alongside oks_manifest:

  • outscale_oks_crd_templates provides ready-to-use CRD manifest templates returned by the OKS API
  • kubeconfig_attributes is now exposed on oks_cluster and oks_kubeconfig to simplify external Kubernetes provider configuration

Better recovery when create partially fails

When a resource is created remotely but a later step in Create fails, the provider now keeps the resource tracked in Terraform state instead of leaving an orphaned resource behind.

Clearer warnings for VM operations with side-effects

As a partial improvement for issue #21, the provider now emits a plan-time warning for flexible_gpu_link operations that may stop or restart the linked VM. The same warning is not yet available on the VM resource itself, because this requires the VM resource to be migrated to the Plugin Framework first; this follow-up is tracked in #774.

Detailed changelog

What's Changed

✨ Added

  • ✨ feat(oks): oks_manifest resource, oks_crd_templates datasource and kubeconfig_attributes by @ryohkhn in #746
  • ✨ feat(datasource_image): add most_recent parameter by @ryohkhn in #793

🛠️ Changed / Refactoring

  • 🔒 ci: fix plumber lint by @ryohkhn in #758
  • 🚸 chore(fgpu_link): show warning about vm start/stop by @ryohkhn in #773
  • 🔒 ci: replace compliance workflows by plumber by @ryohkhn in #782
  • ♻️ refactor(virtual_gateway): migrate from SDKv2 to Plugin Framework by @ryohkhn in #783

📝 Documentation

  • 📝 docs: Add oks_manifest resource by @andrepasteur in #755
  • 📝 docs: Document usage of Kubernetes provider in oks_cluster resource by @andrepasteur in #756
  • 📝 docs: Add oks_crd_templates data source by @andrepasteur in #753
  • 📝 docs: Add kubeconfig_attributes to oks_cluster and oks_kubeconfig by @andrepasteur in #752
  • 📝 docs: document migration of legacy env variables by @ryohkhn in #789
  • 📝 docs: Add most_recent argument in outscale_image data source by @andrepasteur in #797
  • 📝 docs: Rework NIC documentation in outscale_vm resource by @andrepasteur in #796

🐛 Fixed

  • 🐛 fix: delete resources on create failure by @ryohkhn in #769
  • 🐛 fix(client): profile loading from terraform configuration by @ryohkhn in #775
  • 🐛 fix(oks_project): catch pending after delete call by @ryohkhn in #776
  • 🐛 fix(vm): primary_nic & nics arguments conflicts by @ryohkhn in #784
  • 🦖 fix: api.endpoint as a host or a server url by @ryohkhn in #791

📦 Dependency updates

  • ⬆️ deps(gomod): update module github.com/outscale/osc-sdk-go/v3 to v3.0.0-rc.3 by @Open-Source-Bot in #798

Full Changelog: v1.6.0...v1.7.0

Don't miss a new terraform-provider-outscale release

NewReleases is sending notifications on new releases.