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

Unable to find pre-created resource "OpenID Connect" #318

Closed
kwri-avongluck opened this issue Mar 27, 2023 · 2 comments
Closed

Unable to find pre-created resource "OpenID Connect" #318

kwri-avongluck opened this issue Mar 27, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation service/sso PingOne SSO
Milestone

Comments

@kwri-avongluck
Copy link

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

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

PingOne Terraform provider Version

0.11.1

Terraform Version

Terraform v1.3.7

Affected Resource(s)

  • pingone_resource

Terraform Configuration Files

data "pingone_resource" "openid" {
  environment_id = pingone_environment.agent_environment.id
  name = "OpenID Connect"
}

Expected Behavior

Leverage the pre-existing openid pongone_resource

Actual Behavior

Error: Cannot find resource OpenID Connect
with data.pingone_resource.openid
on data.tf line 14, in data "pingone_resource" "openid":
data "pingone_resource" "openid" {

Steps to Reproduce

  1. terraform apply

Important Factoids

Screenshot 2023-03-27 at 10 46 37 AM

@patrickcping
Copy link
Collaborator

Hi @kwri-avongluck thanks for raising!

To select the default OpenID Connect resource, you use the name openid. This isn't clear in the documentation, so we'll make changes to make this clearer.

E.g.

data "pingone_resource" "openid" {
  environment_id = pingone_environment.agent_environment.id
  name = "openid"
}

@patrickcping patrickcping added the documentation Improvements or additions to documentation label Mar 27, 2023
@patrickcping patrickcping added this to the v0.12.0 milestone Mar 27, 2023
@patrickcping patrickcping added the service/sso PingOne SSO label Mar 27, 2023
@patrickcping patrickcping self-assigned this Mar 27, 2023
@kwri-avongluck
Copy link
Author

This indeed resolves the issue for us. Thanks for confirming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation service/sso PingOne SSO
Projects
None yet
Development

No branches or pull requests

2 participants