feat(account): make repository_prefix and repository_provider optional#326
Merged
Merged
Conversation
The terraform-provider-nullplatform v0.0.86 made repository_prefix and repository_provider optional on the nullplatform_account resource. Drop the module-level defaults so unset values pass through as null and let the provider treat them as unmanaged.
cd32289 to
aad95cf
Compare
sebastiancorrea81
approved these changes
May 5, 2026
davidf-null
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
repository_prefixandrepository_providerin thenullplatform/accountmodule so they pass through asnullwhen unset.nullplatform_accountresource.providers.tfis intentionally left at~> 0.0.63— the bump is being handled in a separate PR.Changes
variables.tf:repository_prefixandrepository_providerare nowoptional(string)(no default).slugkeeps its default.tests/account.tftest.hcl:uses_default_valuesnow assertsnullfor the two repository fields.README.md: features, architecture and inputs table updated to reflect the new behavior.Test plan
tofu testpasses locally (3/3)pre-commit runpasses on all changed files (fmt, validate, test, trailing-whitespace, detect-private-key)