Data bags wrt OpsWorks in 2016 with Chef server 12


#1

Hi guys,

I hope you won’t shoot me down, but I’ve discovered AWS OpsWorks and it looks like it could me do my job better with the existing cookbooks I’ve inherited.

However I’ve noticed their support for data bags seems pretty “meh”. https://forums.aws.amazon.com/thread.jspa?threadID=235352 Custom JSON is rather horrible to work with.

So now I’ve noticed an old blog from @coderanger who regularly answer my posts (thanks!), that “data bags” are indeed “code smell” https://coderanger.net/data-bags/

Is this still good advice? I should be migrating key/values to “resources”?

Many thanks,