Closed vschum closed 1 year ago
Hi @vschum, thank you for reporting this crash and for providing a full log. It looks like the API is returning null instead of the certificate data here. We can easily fix the crash, but it's unlikely you'll get much value from importing this particular certificate since the API is not returning it.
Thanks. Yes; I figured there was something going on with the cert but figured I'd at least report the panic.
On Tue, Apr 25, 2023, 08:17 Tom Bamford @.***> wrote:
Hi @vschum https://github.com/vschum, thank you for reporting this crash. It looks like the API is returning null instead of the certificate data here. We can easily fix the crash, but it's unlikely you'll get much value from importing this particular certificate since the API is not returning it.
— Reply to this email directly, view it on GitHub https://github.com/hashicorp/terraform-provider-azuread/issues/1080#issuecomment-1521690101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALKBOLQO42M5QYTEP3AONDXC66ENANCNFSM6AAAAAAXG3I7TM . You are receiving this because you were mentioned.Message ID: @.***>
This functionality has been released in v2.38.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!
Community Note
Terraform (and AzureAD Provider) Version
Affected Resource(s)
azuread_service_principal_token_signing_certificate
Debug Output
https://gist.github.com/vschum/f8fcc4d4cca06c61aa47245445f9ee55
Panic Output
Expected Behavior
Existing resource is imported.
Actual Behavior
Provider plugin segfaults.
Steps to Reproduce
Important Factoids
This service principal has a
keyCredential
andpasswordCredential
with the samekeyId
.References
968