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

Urgent: high priority: data ibm_schematics_workspace bug #4965

Closed
surajsbharadwaj opened this issue Dec 5, 2023 · 3 comments
Closed

Urgent: high priority: data ibm_schematics_workspace bug #4965

surajsbharadwaj opened this issue Dec 5, 2023 · 3 comments
Assignees
Labels
service/Schematics Issues related to Schematics

Comments

@surajsbharadwaj
Copy link

Okay Found out.
Using 1.58.0 and 1.58,1 works fine,
It is a problem with : from 1.59.0 onwards including 1.60.0

data "ibm_schematics_workspace" "schematics_workspace" {
  workspace_id = var.prerequisite_workspace_id
  location     = local.location
}

Need a provider fix

Error:

You can apply this plan to save these new output values to the Terraform state, without changing any real infrastructure.
╷
│ Error: GetWorkspaceWithContext failed error unmarshalling schematicsv1.WorkspaceResponse: error unmarshalling property 'catalog_ref' as schematicsv1.CatalogRef: error unmarshalling property 'service_extensions' as []schematicsv1.ServiceExtensions: error unmarshalling property 'value': json: cannot unmarshal object into Go value of type string
@github-actions github-actions bot added the service/Schematics Issues related to Schematics label Dec 5, 2023
@VaishnaviGopal
Copy link
Collaborator

Hi @surajsbharadwaj Can you check the terraform provider version again?
check with 1.60.0 version

@surajsbharadwaj
Copy link
Author

Thank you.

Version 1.59.1 doesnt work.
Please provide a note somewhere hinting people to upgrade to 1.60.0

Can confirm 1.60.0 works now. This issue can be closed @VaishnaviGopal

@VaishnaviGopal VaishnaviGopal self-assigned this Dec 6, 2023
@surajsbharadwaj
Copy link
Author

Hello Team,
With terraform provider version 1.60.0. This was fixed and the issue is back again,,
Not able to read a schematics workspace data.
Facing this issue:
│ Error: GetWorkspaceWithContext failed error unmarshalling schematicsv1.WorkspaceResponse: error unmarshalling property 'catalog_ref' as schematicsv1.CatalogRef: error unmarshalling property 'service_extensions' as []schematicsv1.ServiceExtensions: error unmarshalling property 'value': json: cannot unmarshal object into Go value of type string
│ {
│ "StatusCode": 200,
│ "Headers": {
│ "Cache-Control": [
(edited)
Untitled

│ Error: GetWorkspaceWithContext failed error unmarshalling schematicsv1.WorkspaceResponse: error unmarshalling property 'catalog_ref' as schematicsv1.CatalogRef: error unmarshalling property 'service_extensions' as []schematicsv1.ServiceExtensions: error unmarshalling property 'value': json: cannot unmarshal object into Go value of type string
│ {
│ "StatusCode": 200,
│ "Headers": {
│ "Cache-Control": [
Click to expand inline (403 lines)

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

2 participants