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

Plugin crashes when trying to create application #18

Closed
saar-win opened this issue Oct 14, 2024 · 7 comments
Closed

Plugin crashes when trying to create application #18

saar-win opened this issue Oct 14, 2024 · 7 comments
Labels

Comments

@saar-win
Copy link

saar-win commented Oct 14, 2024

resource "jumpcloud_application" "create_applications" {
  name = TEST
  display_label = TEST
  idp_entity_id = TEST
  sp_entity_id = TEST
  acs_url = TEST
  sso_url = TEST
  idp_certificate = ""
  idp_private_key = ""
  constant_attributes {
      name = TEST
      value = TEST
  }
}

using the latest provider.
Screenshot 2024-10-14 at 15 21 46

It crashes when using this block; has anyone tackled this issue?

@cheelim1
Copy link
Owner

Thanks for reporting, may i have the full error logs, rather than just the screenshot. Thanks.

@cheelim1
Copy link
Owner

You can try with version 0.3.18

@saar-win12
Copy link

Screenshot 2024-10-14 at 17 53 51

Screenshot 2024-10-14 at 17 53 39

@cheelim1
Copy link
Owner

Seems like a validation error thrown by jumpcloud currently. Do ensure you're passing the value for idp_certificate & idp_private_key in are valid.

@saar-win12
Copy link

Should it be in base64 encoding?

@cheelim1
Copy link
Owner

Don't think it needs to be base64 encoded, but you can verify as well.
Perhaps you can ensure it's in the proper PEM format. What i usually would do, would be to store the PEM cert calue in AWS SSM parameter store and reference it.

data "aws_ssm_parameter" "example" {
  name = "/example/cert"
}

idp_certificate  = data.aws_ssm_parameter.example.value

@cheelim1 cheelim1 added the stale label Dec 1, 2024
@cheelim1 cheelim1 closed this as completed Dec 1, 2024
@cheelim1
Copy link
Owner

cheelim1 commented Dec 1, 2024

This issue has been closed due to inactivity.

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

3 participants