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

resource: Implement atomic host enrollments #30

Merged
merged 4 commits into from
Oct 24, 2024

Conversation

janartodesk
Copy link
Member

Terraform expects all resource operations to be atomic in order to maintain state application transactionality. From the official documentation (https://developer.hashicorp.com/terraform/plugin/framework/resources):

Terraform assumes that every resource [...] needs only one API call to update or return its state.

Imposing this invariant guarantees plan execution failures don't leave the target system in a state with partially applied configuration.

@janartodesk janartodesk added the enhancement New feature or request label Oct 24, 2024
@janartodesk janartodesk self-assigned this Oct 24, 2024
@janartodesk janartodesk marked this pull request as ready for review October 24, 2024 06:04
@janartodesk janartodesk requested a review from a team as a code owner October 24, 2024 06:04
@janartodesk janartodesk merged commit a277bdc into main Oct 24, 2024
4 checks passed
@janartodesk janartodesk deleted the dev/atomic-host-enrollment branch October 24, 2024 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant