Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Conversation

@wlthomson
Copy link
Collaborator

@wlthomson wlthomson commented Jul 22, 2025

[sc-116756]

Fixes OctopusDeploy/Issues#9483.

It is currently possible to get a project into a broken state via the API by enabling ARC without an associated package. The current provider implementation can reach this state due to the chicken-and-egg problem of requiring a package used by an existing process step in order to specify an ARC strategy. As no process steps can exist until a project is created, the project can end up in a state where ARC is enabled without any associated package reference, causing unexpected null reference exceptions when navigating the UI.

This introduces a new auto_create_release resource which replaces project resource attributes auto_create_release and release_creation_strategy. The new resource has a dependency on the project, preventing users from getting into a broken state by enforcing an order of operations that requires the project to be created before ARC is enabled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot update project process when auto create release is true and release creation strategy is missing

2 participants