Skip to content

Commit 6a8912e

Browse files
author
Chris Rehn
committed
Use fnGetAtt instead of ref
1 parent 994fa65 commit 6a8912e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samtranslator/model/lambda_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class LambdaAlias(Resource):
5252
"ProvisionedConcurrencyConfig": PropertyType(False, is_type(dict)),
5353
}
5454

55-
runtime_attrs = {"arn": lambda self: ref(self.logical_id)}
55+
runtime_attrs = {"arn": lambda self: fnGetAtt(self.logical_id, "Arn")}
5656

5757

5858
class LambdaEventSourceMapping(Resource):

0 commit comments

Comments
 (0)