Skip to content

test: support for_each acceptance state checks#31

Merged
sionsmith merged 1 commit into
mainfrom
fix/organization-role-acceptance-check
Jul 19, 2026
Merged

test: support for_each acceptance state checks#31
sionsmith merged 1 commit into
mainfrom
fix/organization-role-acceptance-check

Conversation

@sionsmith

Copy link
Copy Markdown
Contributor

Summary

  • replace terraform-plugin-testing generic checks that cannot parse string-keyed for_each addresses
  • inspect the resulting Terraform state directly so the concurrent role acceptance scenario remains fully asserted

Context

The live WorkOS apply succeeded for all concurrent roles after #29. The acceptance job failed only when the v1.6 test helper attempted to resolve addresses such as workos_organization_role.concurrent["admin"].

Testing

  • go test -race ./internal/provider -run TestAccOrganizationRoleResource_Concurrent -count=1
  • go vet ./internal/provider

Follow-up to #29.

@sionsmith
sionsmith merged commit a3b4de5 into main Jul 19, 2026
6 checks passed
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.

1 participant