Skip to content

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

Open
@BitWielderSumit

Description

@BitWielderSumit

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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions