IBM-Cloud / terraform-provider-ibm

https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs
Mozilla Public License 2.0
336 stars 645 forks source link

Support Terraform v1.6 for Schematics Workspace #5413

Closed n-kirsch closed 2 weeks ago

n-kirsch commented 3 weeks ago

Community Note

Description

Since this week, there is a new release for the schematics service to support the Terraform version v1.6.6. However, when I update my workspaces via the provider with the new version, I get the following error. The regex does not allow the new version and therefore the provider does not support the v1.6 yet. A manual update via the CLI worked and the UI also shows the new version.

 2024/06/07 07:48:43 Terraform plan | Planning failed. Terraform encountered an error while generating this plan.
 2024/06/07 07:48:43 Terraform plan | 
 2024/06/07 07:48:43 Terraform plan | 
 2024/06/07 07:48:43 Terraform plan | Error: "template_type" ("terraform_v1.6") should match regexp ^terraform_v(?:0\.11|0\.12|0\.13|0\.14|0\.15|1\.0|1\.1|1\.2|1\.3|1\.4|1\.5)(?:\.\d+)?$ 

Bildschirmfoto vom 2024-06-07 10-16-27

New or Affected Resource(s)

Potential Terraform Configuration

resource "ibm_schematics_workspace" "schematics_workspace" {
  name = "workspace"
  description = "description"
  location = "eu-de"
  resource_group = "default"
  template_type = "terraform_v1.6"
}