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.
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.