Skip to content

Terraform PowerScale - powerscale_namespace_acl: out-of-band ACL changes are not detected or corrected - #337

Merged
sapana05 merged 5 commits into
mainfrom
usr/sapana/ECS02C-1191
Aug 7, 2026
Merged

Terraform PowerScale - powerscale_namespace_acl: out-of-band ACL changes are not detected or corrected#337
sapana05 merged 5 commits into
mainfrom
usr/sapana/ECS02C-1191

Conversation

@sapana05

@sapana05 sapana05 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

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:

GitHub Issue #

ISSUE TYPE

  • Bugfix Pull Request
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

  • [] Unit tests
  • Acceptance tests

sapana05 and others added 4 commits August 6, 2026 07:11
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>
@sapana05 sapana05 changed the title Usr/sapana/ecs02 c 1191 Terraform PowerScale - powerscale_namespace_acl: out-of-band ACL changes are not detected or corrected Aug 6, 2026
@sapana05
sapana05 merged commit a24b03f into main Aug 7, 2026
7 checks passed
@sapana05
sapana05 deleted the usr/sapana/ECS02C-1191 branch August 7, 2026 06:09
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.

3 participants