-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update ttl to be long #1417
update ttl to be long #1417
Conversation
I have a couple of issues here that I would like to surface:
If this is a required change, can you update the documentation where it states this needs to be a string and nothing else? (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-ttl) Also can examples be added? I would have to imagine I am not the only one with this issue. Thanks, |
We have several of our cfn templates fail because of this, is this change correct since the official documentation claims TTL is a string? |
Is it possible to allow both options? I reported this issue and I would not like to change all of my templates to String since TTL is obviously a number. |
@deleugpn this is a tricky one but the answer to your question is yes. You can disable strict checking by configuring the rule E3012 to be The hard part with this one is that it should be long in the docs and the spec. Still talking with a few people about the best way to handle this. |
We use statically typed code generated off the spec, so this was a breaking change for us. Could this tool simply check if the string value is parseable as a long if it's not a legit long? It seems like introducing this non-backward compatible change to the spec is unlikely, but that's pure speculation. |
Hope this change will also get reflected to Documentation- https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-ttl |
As per this change updating Documentation aws-cloudformation/cfn-lint#1417
Issue #, if available:
fix #1414
Description of changes:
https://docs.aws.amazon.com/cli/latest/reference/route53/change-resource-record-sets.html
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.