shinesolutions / aem-aws-stack-provisioner

Puppet provisioner for AEM AWS Stack Builder
Apache License 2.0
4 stars 13 forks source link

Extract aem-tools and aws-tools into installable apps #6

Open cliffano opened 7 years ago

cliffano commented 7 years ago

aem-tools and aws-tools are currently a set of python/bash/puppet scripts that are provisioned to the instances one by one.

Ideally they should be installable apps (e.g. CLI apps) that can be installed via pip or gem .

aws-tools can be turned into a python CLI app. aem-tools can be turned into a ruby CLI app (depends on what AEM client implementation is available later). Puppet is currently (ab)used to have logic with reading json, looping through items, converting data types. It's better to do all those in ruby/python instead of Puppet DSL.

cliffano commented 6 years ago

Also consider whether it's worth keeping aws-tools to use Python? or migrate to Ruby so we can avoid duplication between Python and Ruby for managing AEM.

Some consideration points:

  1. ruby_aem is by far more mature than any other tech stack, and no user has been interested in investing the effort to uplift pythonaem
  2. Lambda function supports Python, but not Ruby. This is a major bummer which blocks the possibility of running these tools from Lambda functions
mbloch1986 commented 5 years ago

Ruby is supported by AWS Lambda since Nov 2018 https://aws.amazon.com/blogs/compute/announcing-ruby-support-for-aws-lambda/