Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BitWielderSumit opened this issue Aug 22, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@BitWielderSumit
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants