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

[Bug] Error: Invalid Attribute Value Match - citrix_stf_user_farm_mapping #129

Closed
auto-infra opened this issue Sep 26, 2024 · 1 comment · Fixed by #137
Closed

[Bug] Error: Invalid Attribute Value Match - citrix_stf_user_farm_mapping #129

auto-infra opened this issue Sep 26, 2024 · 1 comment · Fixed by #137
Labels
bug Something isn't working

Comments

@auto-infra
Copy link

Resource - citrix_stf_user_farm_mapping
Error Message: Attribute group_members[0].account_sid must be in Active Directory SID format, got : S-1-5-21-1177238911-1767777339-725725527-22522516

ActiveDirectorySidRegex validation is failing.

https://github.com/citrix/terraform-provider-citrix/blob/ce30cea5b62e758acd045f0021fb0b5a2a67ec11/internal/storefront/stf_multi_site/stf_user_farm_mapping_resource_model.go#L47

image

https://github.com/citrix/terraform-provider-citrix/blob/ce30cea5b62e758acd045f0021fb0b5a2a67ec11/internal/util/common.go#L103

// Active Directory Sid
const ActiveDirectorySidRegex string = ^S-1-[0-59]-\d{2}-\d{8,10}-\d{8,10}-\d{8,10}-[1-9]\d{3}**$**

Please fix this ActiveDirectorySidRegex

@auto-infra auto-infra added the bug Something isn't working label Sep 26, 2024
@aneeshk-citrix
Copy link
Collaborator

Hi @auto-infra,

Thanks for bringing this up. We will work on fixing this and give you an update once we have it ready.

Aneesh

@zhuolun-citrix zhuolun-citrix linked a pull request Oct 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants