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

Feature Request: mysql_procedure resource #59

Open
wobo-mattmencel opened this issue Jan 30, 2023 · 2 comments
Open

Feature Request: mysql_procedure resource #59

wobo-mattmencel opened this issue Jan 30, 2023 · 2 comments

Comments

@wobo-mattmencel
Copy link

Any chance a mysql_procedure resource could be added to this provider?

I've tested out doing this with a local-exec, but that method risks exposing passwords in the logs or in the STATE which I'm trying to avoid.

Affected Resource(s)

Please list the resources as a list, for example:

  • mysql_procedure

References

There is a postgres provider that implements a similar functionality.
https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/postgresql_function

@petoju
Copy link
Owner

petoju commented Jan 31, 2023

There is a chance - if anyone sends out a PR of a reasonable quality, I'll merge it. I currently don't need it, so there is no plan to implement it from my side.

@Flasheh
Copy link

Flasheh commented May 24, 2023

There's an undocumented mysql_sql resource which was created for this purpose. I've (ab)used it in the past to run some SQL statements though not with this fork of the provider.

Example usage can be found here: winebarrel#22

Use at your own risk obviously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants