Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot provision Schematics workspaces with recent versions of Terraform #3048

Closed
andrewferrier opened this issue Sep 1, 2021 · 2 comments
Closed
Labels
service/Schematics Issues related to Schematics

Comments

@andrewferrier
Copy link

Terraform CLI and Terraform IBM Provider Version

Terraform v1.0.5
on darwin_amd64
+ provider registry.terraform.io/ibm-cloud/ibm v1.30.2

Affected Resource(s)

  • ibm_schematics_workspace

Terraform Configuration Files

resource "ibm_schematics_workspace" "schematics_workspace_instance" {
  name = "schematics-test"
  description = "description"
  location = "eu-gb"
  template_type = "terraform_v1.0"
  template_git_url = "https://eu-gb.git.cloud.ibm.com/some/infrastructure"
}

Debug Output

│ Error: "template_type" ("terraform_v1.0") should match regexp ^terraform_v0.(?:11|12|13)(?:.\d+)?$

│ with ibm_schematics_workspace.schematics_workspace_instance,
│ on main.tf line 22, in resource "ibm_schematics_workspace" "schematics_workspace_instance":
│ 22: template_type = "terraform_v1.0"

Expected Behavior

The provider should support all versions of Terraform supported by IBM Cloud Schematics at all times, including 1.0 - this hardcoded limitation is overly restrictive.

Actual Behavior

Restricts me to using old versions of Terraform.

Steps to Reproduce

  1. terraform apply
@kavya498 kavya498 added the service/Schematics Issues related to Schematics label Sep 2, 2021
@nven
Copy link
Contributor

nven commented Sep 23, 2021

Will be fixed as part of #2901

@kavya498
Copy link
Collaborator

Available in 1.36.0 release
Closing this issue
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/Schematics Issues related to Schematics
Projects
None yet
Development

No branches or pull requests

3 participants