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

Fix resource exists error #53

Closed
ejseqera opened this issue Oct 11, 2023 · 1 comment
Closed

Fix resource exists error #53

ejseqera opened this issue Oct 11, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ejseqera
Copy link
Member

If a resource is attempted to be created and it already exists, twkit will return:

twkit.tower.ResourceExistsError:  Resource already exists and will not be created. Please set 'overwrite: true'

This makes sense when using a yaml but if you are importing twkit as a module, you can't use the overwrite: option. We should delete this from the exception.

@ejseqera ejseqera added the bug Something isn't working label Oct 11, 2023
@ejseqera ejseqera self-assigned this Oct 11, 2023
@ejseqera
Copy link
Member Author

Merged with #57

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

1 participant