Skip to content
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

TTL can not be set (not a number) #1

Open
darioackermann opened this issue Jul 14, 2023 · 0 comments
Open

TTL can not be set (not a number) #1

darioackermann opened this issue Jul 14, 2023 · 0 comments

Comments

@darioackermann
Copy link

When supplying a TTL value, stack creation will fail with Received response status [FAILED] from custom resource. Message returned: invalid resource properties: '60' is not of type 'number

This probably happens because when using a custom resource, the parameters are sent as string, however the custom resource is enforcing it to be a number type

https://github.com/binxio/cfn-cross-account-dns-provider/blob/main/src/cfn_cross_account_dns_provider/cross_account_dns.py#L30

It neither works when using a Parameter with Type Number and then referring to it via !Ref TTL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant