Live data from Hacker News

Ask HN: Tool to export AWS configuration entirely?

news.ycombinator.com

1–10 of 12 posts

Ask HN: Tool to export AWS configuration entirely?

#1
I'm looking for a tool to export all the AWS configuration into text files, but maybe I'm completely wrong because I can't find anything related.

The most similar approach is a IAM cli command "aws iam get-account-authorization-details" who dump the IAM settings, but outside this service there aren't any equal. Think about something like "get-network-details" or "get-s3-details" who could give you a whole view of them.

Maybe someone knows something similar to etckeeper, but for AWS?

Re: Ask HN: Tool to export AWS configuration entirely?

#2
I'd be interested in this too if you find something.

I wouldn't think it would be overly difficult to write a tool that looped through the all the API endpoints to construct the full state.

Say what you want about AWS, but one great thing about it is how accessible almost every piece of account state is via API.

I'd imagine terraform has some logic like this somewhere in its guts?

Re: Ask HN: Tool to export AWS configuration entirely?

#3
If you build the infra with Terraform (one of my favorite tools of all time) you can do this with a 'terraform show'. The code itself will also represent a description of the infrastructure.

Unfortunately this only works for things that are built with Terraform, not already created infrastructure to my knowledge.

Post reply on HN