Skip to content

Commit

Permalink
OCM-6113 | ci: Fix teardown KMS issue with kmsname
Browse files Browse the repository at this point in the history
  • Loading branch information
amalykhi authored and openshift-merge-bot[bot] committed Feb 15, 2024
1 parent 95ef4f5 commit 0976a7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/tf-manifests/rhcs/clusters/rosa-classic/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ output "cluster_id" {
}

output "cluster_name" {
value = rhcs_cluster_rosa_classic.rosa_sts_cluster.cluster_name
value = rhcs_cluster_rosa_classic.rosa_sts_cluster.name
}

output "additional_compute_security_groups" {
Expand Down
4 changes: 2 additions & 2 deletions tests/utils/exec/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type Proxy struct {
// Just a placeholder, not research what to output yet.
type ClusterOutput struct {
ClusterID string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"`
ClusterName string `json:"name,omitempty"`
AdditionalComputeSecurityGroups []string `json:"additional_compute_security_groups,omitempty"`
AdditionalInfraSecurityGroups []string `json:"additional_infra_security_groups,omitempty"`
AdditionalControlPlaneSecurityGroups []string `json:"additional_control_plane_security_groups,omitempty"`
Expand Down Expand Up @@ -127,7 +127,7 @@ func (creator *ClusterService) Output() (*ClusterOutput, error) {
}
clusterOutput := &ClusterOutput{
ClusterID: h.DigString(out["cluster_id"], "value"),
ClusterName: h.DigString(out["cluster_name"], "value"),
ClusterName: h.DigString(out["name"], "value"),
AdditionalComputeSecurityGroups: h.DigArrayToString(out["additional_compute_security_groups"], "value"),
AdditionalInfraSecurityGroups: h.DigArrayToString(out["additional_infra_security_groups"], "value"),
AdditionalControlPlaneSecurityGroups: h.DigArrayToString(out["additional_control_plane_security_groups"], "value"),
Expand Down

0 comments on commit 0976a7e

Please sign in to comment.