Move build-ami script into configuration.