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

oci_identity_domains_user updates fail because it expects optional parameters to be present #1812

Closed
F21 opened this issue Mar 16, 2023 · 14 comments
Labels

Comments

@F21
Copy link

F21 commented Mar 16, 2023

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 "me too" comments, 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

Terraform Version and Provider Version

Affected Resource(s)

oci_identity_domains_user

Terraform Configuration Files

resource "oci_identity_domains_user" "secrets_image_builder" {
  idcs_endpoint = oci_identity_domain.secrets.url
  schemas = [
    "urn:ietf:params:scim:schemas:core:2.0:User",
    "urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User",
    "urn:ietf:params:scim:schemas:oracle:idcs:extension:OCITags",
    "urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User",
  ]
  description = "Description"
  name {
    family_name = "smith"
  }
  emails {
    type    = "work"
    value   = "[email protected]"
    primary = true
  }
  user_name = "jsmith"
}

Debug Output

https://gist.github.com/F21/9acb31b823e70f4291ede8b44a65e16e

Panic Output

n/a

Expected Behavior

The update should be succesful

Actual Behavior

Updating the resource fails because it expects optional parameters such as name.given_name to have a minimum length of 1

Steps to Reproduce

  1. terraform apply
  2. Change oci_identity_domains_user.test_user.name.family_name.
  3. Run terraform apply and confirm the apply.
  4. Apply fails due to optional parameters having a miminum length of less than 1.

Important Factoids

N/a

References

Relates to #1811
Relates to oracle/oci-go-sdk#416

@F21 F21 added the bug label Mar 16, 2023
@ravinitp ravinitp added the In-Progress Terraform Team is working on the reproduce & fix label Mar 16, 2023
@ravinitp
Copy link
Member

Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.

3 similar comments
@ravinitp
Copy link
Member

Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.

@ravinitp
Copy link
Member

Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.

@ravinitp
Copy link
Member

Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.

@ravinitp
Copy link
Member

We have notified our service engineer. Our service engineers will get back to you.

6 similar comments
@ravinitp
Copy link
Member

We have notified our service engineer. Our service engineers will get back to you.

@ravinitp
Copy link
Member

We have notified our service engineer. Our service engineers will get back to you.

@ravinitp
Copy link
Member

We have notified our service engineer. Our service engineers will get back to you.

@ravinitp
Copy link
Member

We have notified our service engineer. Our service engineers will get back to you.

@ravinitp
Copy link
Member

We have notified our service engineer. Our service engineers will get back to you.

@ravinitp
Copy link
Member

We have notified our service engineer. Our service engineers will get back to you.

@wynnewang
Copy link
Member

We are tracking this bug internally and working on a fix.

@wynnewang
Copy link
Member

The fix has been released in v4.122.0.

@vsin12 vsin12 closed this as completed Jul 20, 2023
@vsin12
Copy link
Member

vsin12 commented Jul 20, 2023

Closing as per above comment.

@ravinitp ravinitp removed the In-Progress Terraform Team is working on the reproduce & fix label Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants