Skip to content

All functions who creates some resource should be idempotent #120

@ppizarro

Description

@ppizarro

I think a build script should be idempotent. This is expected behavior for most build scripts.

It means, if I run the script again and nothing changed the script should do nothing and generate no error. If only one resource has changed or is a new resource then only this resource should be affected when I run the script again.

KLB could help address this behavior by facilitating your users.

Currently for some resource types when I create the resource and it already exists KLB returns an error for others does not return error. This behavior reflects the behavior of azure cli.

It would be nice if KLB was not just a wrapper to call the commands of the cli.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions