oracle / terraform-provider-oci

Terraform Oracle Cloud Infrastructure provider
https://www.terraform.io/docs/providers/oci/
Mozilla Public License 2.0
760 stars 683 forks source link

`oci_identity_domains_user` keeps trying to update when running `terraform apply` #1811

Open F21 opened 1 year ago

F21 commented 1 year ago

Community Note

Terraform Version and Provider Version

Terraform v1.4.0 on linux_amd64

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@example.com"
    primary = true
  }
  user_name = "jsmith"
}

Debug Output

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

Panic Output

n/a

Expected Behavior

There should be nothing to change when running terraform apply

Actual Behavior

Changes are proposed after running terraform apply despite no changes to the oci_identity_domains_user resource.

Steps to Reproduce

  1. terraform apply to create original resources
  2. run terraform apply again and it will propose changes despite no changes to the oci_identity_domains_user resource.

Important Factoids

n/a

References

n/a

ravinitp commented 1 year ago

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

ravinitp commented 1 year ago

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

ravinitp commented 1 year ago

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

ravinitp commented 1 year ago

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