Skip to content

Commit d7163d1

Browse files
committed
typo
1 parent 8a97ce0 commit d7163d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

localstack-core/localstack/services/cloudformation/engine/v2/change_set_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def _visit_intrinsic_function(
537537
def _resolve_intrinsic_function_fn_sub(self, arguments: ChangeSetEntity) -> ChangeType:
538538
# TODO: This routine should instead export the implicit Ref and GetAtt calls within the first
539539
# string template parameter and compute the respective change set types. Currently,
540-
# changes referenced byu Fn::Sub templates are only picked up during preprocessing; not
540+
# changes referenced by Fn::Sub templates are only picked up during preprocessing; not
541541
# at modelling.
542542
return arguments.change_type
543543

localstack-core/localstack/services/cloudformation/engine/v2/change_set_model_preproc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def _compute_sub(args: str | list[Any], select_before: bool) -> str:
603603
elif template_variable_name in sub_parameters:
604604
template_variable_value = sub_parameters[template_variable_name]
605605

606-
# Try to resolve the variable name are GetAtt.
606+
# Try to resolve the variable name as GetAtt.
607607
elif "." in template_variable_name:
608608
try:
609609
template_variable_value = self._resolve_attribute(
@@ -612,7 +612,7 @@ def _compute_sub(args: str | list[Any], select_before: bool) -> str:
612612
except RuntimeError:
613613
pass
614614

615-
# Try to resolve the variable name are Ref.
615+
# Try to resolve the variable name as Ref.
616616
else:
617617
try:
618618
resource_delta = self._resolve_reference(logical_id=template_variable_name)

0 commit comments

Comments
 (0)