terraform-redhat / terraform-rhcs-rosa-hcp

Repository for rosa hcp modules
3 stars 12 forks source link

OCM-9582 | feat: add more outputs from sub modules in root #21

Closed marcolan018 closed 2 months ago

marcolan018 commented 2 months ago

Signed-off-by: marcolan018 llan@redhat.com https://issues.redhat.com/browse/OCM-9582

sample output with the changes:

Outputs:

account_role_prefix = "marcohcp-account"
account_roles_arn = {
  "HCP-ROSA-Installer" = "arn:aws:iam::765374464689:role/marcohcp-account-HCP-ROSA-Installer-Role"
  "HCP-ROSA-Support" = "arn:aws:iam::765374464689:role/marcohcp-account-HCP-ROSA-Support-Role"
  "HCP-ROSA-Worker" = "arn:aws:iam::765374464689:role/marcohcp-account-HCP-ROSA-Worker-Role"
}
cluster_id = "2crc4c5c5c8ru43uk5h1vjfb6itrismp"
oidc_config_id = "2crc43a7vemlblkmn6ocou8qmk25he3m"
oidc_endpoint_url = "oidc.op1.openshiftapps.com/2crc43a7vemlblkmn6ocou8qmk25he3m"
operator_role_prefix = "marcohcp-operator"
operator_roles_arn = [
  "arn:aws:iam::765374464689:role/marcohcp-operator-openshift-image-registry-installer-cloud-crede",
  "arn:aws:iam::765374464689:role/marcohcp-operator-openshift-ingress-operator-cloud-credentials",
  "arn:aws:iam::765374464689:role/marcohcp-operator-openshift-cluster-csi-drivers-ebs-cloud-creden",
  "arn:aws:iam::765374464689:role/marcohcp-operator-openshift-cloud-network-config-controller-clou",
  "arn:aws:iam::765374464689:role/marcohcp-operator-kube-system-kube-controller-manager",
  "arn:aws:iam::765374464689:role/marcohcp-operator-kube-system-capa-controller-manager",
  "arn:aws:iam::765374464689:role/marcohcp-operator-kube-system-control-plane-operator",
  "arn:aws:iam::765374464689:role/marcohcp-operator-kube-system-kms-provider",
]
path = "/"

BTW, in the examples, the default openshift-version 4.14.20 is no longer in the candidate list of the build env, so change it to latest one 4.16.3

marcolan018 commented 2 months ago

/retest

gdbranco commented 2 months ago

/approve /lgtm

openshift-ci[bot] commented 2 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gdbranco, marcolan018

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/terraform-redhat/terraform-rhcs-rosa-hcp/blob/main/OWNERS)~~ [gdbranco] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment