barnybug / cli53

Command line tool for Amazon Route 53

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying to create multiple TXT records

lrhazi opened this issue · comments

I cannot figure out the syntax for this... What am I doing wrong? Thanks!

» cli53 rrcreate --replace catholic.edu @ 60 TXT "v=spf1 include:_spf.catholic.edu ~all" "_globalsign-domain-verification=LBGN_PGPzs-K_ugvlmQc5pBRof3QCVximyhc9hNKsU" "google-site-verification=KVgOx0rYXwwID6WJEPOwFciLfRJFpjt7JXlAM-eDajg"
Error: dns: not a TTL: "@" at line: 2:1
cli53 version 0.8.16

You need to quote the whole record (@ onwards). There's an example here:
https://github.com/barnybug/cli53/blob/master/internal/features/rrcreate.feature#L74