Skip to content

Add support for Cloudformation "detect stack drifts" #186

Open
@yasseur1007

Description

There is a nice Cloudformation feature called "detect stack drifts" which allow us to see if the resources deployed by CF drifted from the CF definition's state (like if someone changed an s3 option by hand/cli).

How i see it working for this operator?

  • We could have an option in the k8s stack resource that looks like:
  ensureNoDrift: true|false
  driftCheckFrequency: "24h"

A parallel "worker" would trigger CF drift checks on time.

  • it would then queue in CF a "detect drift request" and poll for it's results.
  • If a drift is detected, it would trigger an update of the CF using the previous definition (only if no other operation is already in progress updates or something else)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions