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

Data source apstra_blueprint_device_rendered_config no error on incremental config 404 #964

Conversation

chrismarget-j
Copy link
Collaborator

The API endpoints used by apstra_blueprint_device_rendered_config return 404 when the node or system in question appears only in the staging config.

Requesting an incremental config between "staged" (with device assigned) and "deployed" (no device assigned) does not work.

Rather than surfacing an error early in the deployment lifecycle, this PR changes the behavior so that we return Null for these values.

Also, cleaned up some problematic test sync.WaitGroup code which has been causing intermittent test failures. Much simpler now.

Closes #962

@chrismarget-j chrismarget-j merged commit cef801c into main Nov 5, 2024
1 check passed
@chrismarget-j chrismarget-j deleted the 962-apstra_blueprint_device_rendered_config-data-source-404-handling branch November 5, 2024 19:44
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.

apstra_blueprint_device_rendered_config data source 404 handling
2 participants