wallix / awless

A Mighty CLI for AWS
http://awless.io/
Apache License 2.0
4.98k stars 262 forks source link

Are awless templates idempotent? #72

Closed rbellamy closed 7 years ago

rbellamy commented 7 years ago

When re-runninng an awless template, am I guaranteed idempotency?

One of the major challenges working with ansible and AWS is that most ansible AWS modules are not idempotent. And no, Terraform is not the answer (https://charity.wtf/tag/terraform/). Chef is generally idempotent by design.

Cross posted on StackOverflow (with Downvote!!!). I had assumed that questions go to SO and issues come here - but maybe awless isn't established enough to need that?

hbbio commented 7 years ago

As a general rule, it seems impossible to guarantee idempotency.

For instance,

Therefore, some templates may be idempotent but not all. As we plan more work on the awless templates formalization, we might have a look at determining idempotency, or even doing in the very long term doing program transformations to derive idempotent versions of some templates.