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

Request for cluster data source #237

Closed
am90670 opened this issue Aug 11, 2023 · 5 comments
Closed

Request for cluster data source #237

am90670 opened this issue Aug 11, 2023 · 5 comments
Assignees
Labels

Comments

@am90670
Copy link

am90670 commented Aug 11, 2023

The rhcs_cluster_rosa_classic resource outputs 'api_url and console_url (and others) are not populated when the resource completes. They are populated when the Terraform configuration is applied again i.e. after the cluster has been created. Can the provider be enhanced with a data source that can be used to lookup details of the cluster please. For example:

data "rhcs_cluster_rosa_classic " {
  cluster_name = var.cluster_name 
}

Or for the outputs to be return by the rhcs_cluster_wait resource?

@nirarg
Copy link
Member

nirarg commented Aug 15, 2023

Hi @am90670 ,
Thank you for your feedback
We will look into it and will update you on the progress

Best regards,
Nir

@nirarg
Copy link
Member

nirarg commented Aug 15, 2023

Opened jira ticket: OCM-3259

@navinisaac
Copy link

navinisaac commented Aug 23, 2023

+1

I require this feature as well. It is cumbersome to have to run a -refresh-only after the cluster has been created to populate the output of console_url

@navinisaac
Copy link

navinisaac commented Aug 31, 2023

@nirarg is there any update on this issue? The OCM-3259 issue you linked leads to an error page.

@nirarg nirarg added the v1.5.0 The changes are planed for version 1.5.0 label Oct 19, 2023
@bardielle bardielle self-assigned this Nov 27, 2023
@bardielle bardielle added v1.5.1 and removed v1.5.0 The changes are planed for version 1.5.0 labels Dec 31, 2023
@nirarg
Copy link
Member

nirarg commented Apr 7, 2024

Closing this ticket as it was already completed.
See PR for more details:
#489

@nirarg nirarg closed this as completed Apr 7, 2024
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