Skip to content

suggestion : disallow update queries #49

@williamohara

Description

@williamohara

I was playing with your provider. It will meet some of my needs but I will use another for updating databases (I may have to make my own) .

I ran a TF plan and found that it ran my query - it was expecting it to be a read and returning data - but i had put a "create user" in it and it created the user. I can see that you were only intending use for getting data to feed terraform.

You may want to run a check for any query that changes the database in any way and put a safeguard in it to ensure it does not run by giving an error message "updates to your database are not allowed"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions