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

apstra_blueprint_iba_dashboard resource not compatible with current SDK #994

Closed
chrismarget-j opened this issue Dec 15, 2024 · 6 comments
Closed
Assignees

Comments

@chrismarget-j
Copy link
Collaborator

chrismarget-j commented Dec 15, 2024

The grid attribute (two-dimensional slice of widget IDs) is no longer IDs. 2D slice of widget data objects now?

Looks like there's also a problem with IbaWidgetData.Type

@rajagopalans
Copy link
Collaborator

Yes.
This is why the apstra-go-sdk dashboard api is not compatible with anything lower than 5.0.
Anyone using the terraform provider for dashboards need to wait for the provider to be updated to match with 5.0 or use the earlier provider for older versions.

@rajagopalans
Copy link
Collaborator

At least that is how I think I have set the compatibility strings :-)

@chrismarget-j
Copy link
Collaborator Author

We need to do something about it in the provider project because I can't build the provider using the current SDK.

@rajagopalans
Copy link
Collaborator

Give me some time, I will disable this in the provider.

@chrismarget-j
Copy link
Collaborator Author

Yep, not an emergency.

If we're pulling those resources/data source from the provider for the time being, that's okay.

The files I had to butcher to get it to compile are:

  • apstra/data_source_blueprint_iba_widget.go
  • apstra/data_source_blueprint_iba_widgets.go
  • apstra/iba/dashboard.go
  • apstra/iba/widget.go
  • apstra/resource_blueprint_iba_widget.go

@chrismarget-j
Copy link
Collaborator Author

Closed by #995

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

No branches or pull requests

2 participants