How should I properly to define masking_type in HCL for PII fields? Terraform v1.5.0 throws Error: 400 Bad Request: Invalid masking configuration during plan apply. Using genesyscloud provider v1.38.0 in ap-southeast-2. HCL snippet attached.
If you check the docs, they mention the masking type must align with the field’s data classification.
- Verify the
masking_typematches the supported enum values in the provider schema. - Ensure the target field is explicitly marked as PII in the configuration.
A scope mismatch often triggers this 400 error.