terraform-provider-okta icon indicating copy to clipboard operation
terraform-provider-okta copied to clipboard

`okta_user_schema_property` - Integer "Attribute Range Support" a.k.a Validation Keywords

Open eephillip opened this issue 2 years ago β€’ 8 comments

Community Note

  • Please vote on this issue by adding a πŸ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

When creating a okta_user_schema_property as type integer. There are validation attributes available that aren't yet available in the provider resource.

Attribute Range Support Examples

    Between 1 and 10
        minimum: 1
        maximum: 10

    Less than 1
        maximum: 1

    Greater Than 1
        minimum: 1

    Equals 1
        minimum: 1
        maximum: 1

UI configuration option

image

New or Affected Resource(s)

  • okta_user_schema_property

Potential Terraform Configuration

resource "okta_user_schema_property" "test_prop" {
  index       = "test_prop"
  title       = "test_prop"
  type        = "integer"
  description = "test_prop int value"
  required    = false
  scope       = "NONE"    
  permissions = "READ_WRITE" 
  master      = "PROFILE_MASTER" 

  minimum = 1     # <--- new property 
  maximum = 10    # <--- new property 
}

References

  • #0000

eephillip avatar Jun 15 '22 20:06 eephillip

Thanks @eephillip . This sounds cool, I'm in flight trying to get the array_enum on okta_user_schema_property to correctly have typed values that the API allows, so this is adjacent for sure.

monde avatar Jun 15 '22 21:06 monde

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Aug 15 '22 00:08 github-actions[bot]

bumpity bump πŸ€œπŸ€›

eephillip avatar Aug 15 '22 00:08 eephillip

Okta internal reference: https://oktainc.atlassian.net/browse/OKTA-524185

monde avatar Aug 15 '22 15:08 monde

https://oktainc.atlassian.net/browse/OKTA-524185

Is their a public link available? I don't think I have access.

eephillip avatar Aug 15 '22 17:08 eephillip

@eephillip the link to Jira is an internal reference, apologies I should have noted that.

monde avatar Aug 15 '22 17:08 monde

So the tldr is an upstream blocker?

eephillip avatar Aug 15 '22 18:08 eephillip

@eephillip the blocker is the amount of bandwidth I have for bugs / features on the TF provider, okta-sdk-golang, and some other internal work that is not in the public yet. You can open a support ticket and reference this issue, that can add some signal on how much priority this gets.

monde avatar Aug 15 '22 18:08 monde

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Jan 04 '23 00:01 github-actions[bot]

πŸŽ‰party bump πŸ€œπŸ€›

eephillip avatar Jan 04 '23 02:01 eephillip

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Mar 06 '23 00:03 github-actions[bot]