Skip to content

Commit 971a1ce

Browse files
Fixed bug in CFT and template_original.yaml file resulting in Contact Schema not getting substituted properly
1 parent 6389473 commit 971a1ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

msk-lambda-schema-avro-java-sam/MSKAndKafkaClientEC2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ Resources:
571571
sed -i "s/KAFKA_TOPIC/$KAFKA_TOPIC/g" template.yaml
572572
sed -i "s/JAVA_VERSION/$JAVA_VERSION/g" template.yaml
573573
sed -i "s/GLUE_SCHEMA_REGISTRY_NAME/$GLUE_SCHEMA_REGISTRY_NAME/g" template.yaml
574-
sed -i "s/CONTACT_SCHEMA/$CONTACT_SCHEMA/g" template.yaml
574+
sed -i "s/AVRO_SCHEMA/$CONTACT_SCHEMA/g" template.yaml
575575
sed -i "s/VPC_ID/$VPC_ID/g" template.yaml
576576
sed -i "s/LAMBDA_SECURITY_GROUP_ID/$LAMBDA_SECURITY_GROUP_ID/g" template.yaml
577577
sed -i "s/SUBNET_IDS/$SUBNET_IDS/g" template.yaml
@@ -868,7 +868,7 @@ Resources:
868868
sed -i "s/KAFKA_TOPIC/$KAFKA_TOPIC/g" template.yaml
869869
sed -i "s/JAVA_VERSION/$JAVA_VERSION/g" template.yaml
870870
sed -i "s/GLUE_SCHEMA_REGISTRY_NAME/$GLUE_SCHEMA_REGISTRY_NAME/g" template.yaml
871-
sed -i "s/CONTACT_SCHEMA/$CONTACT_SCHEMA/g" template.yaml
871+
sed -i "s/AVRO_SCHEMA/$CONTACT_SCHEMA/g" template.yaml
872872
sed -i "s/VPC_ID/$VPC_ID/g" template.yaml
873873
sed -i "s/LAMBDA_SECURITY_GROUP_ID/$LAMBDA_SECURITY_GROUP_ID/g" template.yaml
874874
sed -i "s/SUBNET_IDS/$SUBNET_IDS/g" template.yaml

msk-lambda-schema-avro-java-sam/template_original.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Parameters:
202202
ContactSchemaName:
203203
Type: String
204204
Description: Enter the name of the Contact Schema
205-
Default: CONTACT_SCHEMA
205+
Default: AVRO_SCHEMA
206206
VpcId:
207207
Type: String
208208
Description: Enter the VPC ID where the MSK cluster is deployed

0 commit comments

Comments
 (0)