Terraform PowerScale - powerscale_namespace_acl: out-of-band ACL changes are not detected or corrected - #337
Merged
Merged
Conversation
Make acl_custom Optional+Computed and populate it from the live API ACL response in Create, Read, and Update. Previously CustomACL was restored from the prior plan/state, so out-of-band ACE changes were never detected or corrected. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
bytedance/mockey v1.2.17 fails to compile under Go 1.25 because it references runtime.duffcopy/runtime.duffzero symbols that are not available. v1.4.6 builds successfully and allows the provider test package to compile. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The prior commit made acl_custom Optional+Computed and populated it from the live API response, which caused provider inconsistency because the nested trustee/op/inherit_flags/accessrights fields were not Computed. Mark those nested attributes as Optional+Computed so the API can fill in derived values (e.g. trustee name/type from id) without violating plan consistency. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- Change test namespace from ifs/data to ifs/home - Remove redundant TestAccNamespaceAclResourceEmptyConfig2 test case - Add ExpectNonEmptyPlan to TestAccNamespaceAclResourceEmptyConfig1 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Remove trailing blank line introduced in previous commit. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
MangirishK
approved these changes
Aug 6, 2026
Saksham-Nautiyal
approved these changes
Aug 7, 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.
Description
Terraform PowerScale - powerscale_namespace_acl: out-of-band ACL changes are not detected or corrected
GitHub Issues
List the GitHub issues impacted by this PR:
ISSUE TYPE
RESOURCE OR DATASOURCE NAME
namespace_acl_resource
OUTPUT
ADDITIONAL INFORMATION
Checklist:
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration