optimus icon indicating copy to clipboard operation
optimus copied to clipboard

deploy resource ignores the resources once its failed to create or update

Open BitWielderSumit opened this issue 2 years ago • 0 comments

Describe the bug Currently, while deploying the resources, e.g. big query table, if any resource failed to deploy because of any reason, then in next run the resource gets ignored.

To Reproduce Steps to reproduce the behavior:

  1. create a big query table as a resource in dwh repository
  2. do not register or delete the secrets TASK_BQ2BQ and DATASTORE_BIGQUERY and STORAGE secret
  3. run optimus deploy to deploy the resources
    • here the deploy command will fail, with error that secrets are not configured.
  4. register TASK_BQ2BQ and DATASTORE_BIGQUERY and STORAGE with appropriate service account.
  5. run the deploy command again.
  6. the table will be ignored with message {table_name} is skipped because incoming resource is the same as existing resources

Expected behavior Table which were unable to sync to big query should be part of optimus deploy

BitWielderSumit avatar Aug 22 '22 10:08 BitWielderSumit