Skip to content

Commit

Permalink
console: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Nov 29, 2024
1 parent 6dd0603 commit a27f48c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webapps/console/lib/schema/destinations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ export const coreDestinations: DestinationType<any>[] = [
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(
Expand Down Expand Up @@ -576,7 +576,7 @@ export const coreDestinations: DestinationType<any>[] = [
workgroupName: {
hidden: obj => obj.authenticationMethod !== "iam" || obj.serverless === false,
},
roleArn: {
roleARN: {
hidden: obj => obj.authenticationMethod !== "iam",
},
externalID: {
Expand Down Expand Up @@ -639,7 +639,7 @@ export const coreDestinations: DestinationType<any>[] = [
"Authentication Method::S3 authentication method: <a target='_blank' rel='noopener noreferrer' href='https://docs.jitsu.com/destinations/warehouse/redshift#advanced-iam-role-for-jitsu'>IAM Role based</a> or Access Key"
),
region: z.enum(s3Regions).default(s3Regions[0]).describe("S3 Region::S3 Region"),
roleArn: z
roleARN: z
.string()
.optional()
.describe(
Expand Down Expand Up @@ -671,7 +671,7 @@ export const coreDestinations: DestinationType<any>[] = [
endpoint: {
hidden: obj => obj.authenticationMethod === "iam",
},
roleArn: {
roleARN: {
hidden: obj => obj.authenticationMethod !== "iam",
},
externalID: {
Expand Down

0 comments on commit a27f48c

Please sign in to comment.