From a27f48c94d111ff4f4b3c55fa9ed5834b582aa72 Mon Sep 17 00:00:00 2001 From: Ildar Nurislamov Date: Fri, 29 Nov 2024 17:56:05 +0400 Subject: [PATCH] console: fix --- webapps/console/lib/schema/destinations.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapps/console/lib/schema/destinations.tsx b/webapps/console/lib/schema/destinations.tsx index 31f338c1a..febae6b3c 100644 --- a/webapps/console/lib/schema/destinations.tsx +++ b/webapps/console/lib/schema/destinations.tsx @@ -528,7 +528,7 @@ export const coreDestinations: DestinationType[] = [ region: z.enum(s3Regions).describe("Region::Aws Region"), clusterIdentifier: z.string().optional().describe("Cluster Identifier::Redshift cluster identifier"), workgroupName: z.string().optional().describe("Workgroup name::Redshift Serverless workgroup name"), - roleArn: z + roleARN: z .string() .optional() .describe( @@ -576,7 +576,7 @@ export const coreDestinations: DestinationType[] = [ workgroupName: { hidden: obj => obj.authenticationMethod !== "iam" || obj.serverless === false, }, - roleArn: { + roleARN: { hidden: obj => obj.authenticationMethod !== "iam", }, externalID: { @@ -639,7 +639,7 @@ export const coreDestinations: DestinationType[] = [ "Authentication Method::S3 authentication method: IAM Role based or Access Key" ), region: z.enum(s3Regions).default(s3Regions[0]).describe("S3 Region::S3 Region"), - roleArn: z + roleARN: z .string() .optional() .describe( @@ -671,7 +671,7 @@ export const coreDestinations: DestinationType[] = [ endpoint: { hidden: obj => obj.authenticationMethod === "iam", }, - roleArn: { + roleARN: { hidden: obj => obj.authenticationMethod !== "iam", }, externalID: {