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

Disable resource apstra_blueprint_iba_dashboards with 5.x.x #872

Conversation

chrismarget-j
Copy link
Collaborator

@chrismarget-j chrismarget-j commented Sep 25, 2024

In addition to adding the validation checks, I removed the configuration fetch from dataSourceBlueprintIbaDashboard.ValidateConfig().

It turns out, we don't need the actual config when we're interested only in checking the API version.

We know the config exists because we entered that function. That fact, combined with the API version is enough to detect a problem. No need to fetch the actual configuration.

Closes #871

@chrismarget-j chrismarget-j requested review from rajagopalans and bwJuniper and removed request for rajagopalans September 25, 2024 17:38
@chrismarget-j chrismarget-j merged commit f244487 into main Sep 25, 2024
1 check passed
@chrismarget-j chrismarget-j deleted the 871-add-version-checking-to-disable-data-source-apstra_blueprint_iba_dashboards branch September 25, 2024 17:59
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

Successfully merging this pull request may close these issues.

Add version checking to disable data source apstra_blueprint_iba_dashboards
2 participants