-
Notifications
You must be signed in to change notification settings - Fork 264
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
please return ChangeInfo.Id in response to awless create record #80
Comments
…Info id when creating/deleting a record. #80
This has been added to master and will be in next release. create record name=XXXXXX ttl=60 type=CNAME value=XXXX zone=/hostedzone/XXXX
Confirm? (y/n): y
[info] Executed:
OK create record name=XXXXXX ttl=60 type=CNAME value=XXXX zone=/hostedzone/XXXXX [/change/XXXXX]
[info] Revert this template with `awless revert 01BBEJ74T0ZQ9HRHQF4BXXMEPK |
Thank you very much. Is there a flag to skip the 'Confirm?' prompt? |
Not yet but we intend to create one. It would be |
for |
Yes of course. I forgot of course to mention all the one-liners templates |
Hi, for this kind of command:
awless create record type=A name=host.domain.com value=1.2.3.4 ttl=60 zone=Z12345
if you could return ChangeInfo.Id that would be helpful in scripts that want to do some actions later on using the new DNS name. I assume that command is using something likeaws route53 change-resource-record-sets
under the hood but definitely easier to use as we can simply supply the args on the command line instead of a json file.The ChangeInfo.Id can be used for example check the status using
aws route53 get-change --id <change-set-id>
before doing other stuff with the new name.The text was updated successfully, but these errors were encountered: