8000 Catch Route53 Record Sets without TTL (#7767) · localstack/localstack@ba4ee37 · GitHub
[go: up one dir, main page]

Skip to content

Commit ba4ee37

Browse files
authored
Catch Route53 Record Sets without TTL (#7767)
1 parent ee27d16 commit ba4ee37

File tree

1 file changed

+3
-3
lines changed
  • localstack/services/cloudformation/models

1 file changed

+3
-3
lines changed

localstack/services/cloudformation/models/route53.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def param_change_batch(params, **kwargs):
3838
"HealthCheckId",
3939
]
4040
attrs = select_attributes(params, attr_names)
41-
42-
if isinstance(attrs["TTL"], str):
43-
attrs["TTL"] = int(attrs["TTL"])
41+
if "TTL" in attrs:
42+
if isinstance(attrs["TTL"], str):
43+
attrs["TTL"] = int(attrs["TTL"])
4444

4545
alias_target = attrs.get("AliasTarget", {})
4646
alias_target["EvaluateTargetHealth"] = alias_target.get("EvaluateTargetHealth", False)

0 commit comments

Comments
 (0)
0