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

Use the new go client for scheduled trigger to allow scoping by space ID #841

Merged
merged 4 commits into from
Jan 6, 2025

Conversation

bec-callow-oct
Copy link
Collaborator

@bec-callow-oct bec-callow-oct commented Dec 10, 2024

[SC-97304]

Fixes #740

We previously only used the space ID of the client when reading the scheduled project trigger resource from Octopus. When these IDs were not the same, the resource could not be found. By using the new version of the go client, we can search by the space ID on the resource when known.

This PR resolves issues found when creating/updating resources on Octopus, but does not resolve the issue with terraform import. Terraform import does not provide us with a resource containing a Space ID, so a larger refactor will be required to resolve this issue.

@bec-callow-oct bec-callow-oct marked this pull request as ready for review December 19, 2024 23:10
@bec-callow-oct bec-callow-oct merged commit 3bab2cf into main Jan 6, 2025
24 checks passed
@bec-callow-oct bec-callow-oct deleted the fnm/scheduled-trigger-new-client branch January 6, 2025 02:28
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.

Project scheduled trigger read failure
2 participants