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

Add logging for Terraform provider #42

Closed
jawnsy opened this issue Jun 12, 2023 · 1 comment · Fixed by #211
Closed

Add logging for Terraform provider #42

jawnsy opened this issue Jun 12, 2023 · 1 comment · Fixed by #211
Assignees
Labels
enhancement New feature or request

Comments

@jawnsy
Copy link
Contributor

jawnsy commented Jun 12, 2023

The Terraform plugin framework provides its own logging interface, and we can use this to propagate diagnostic information to Terraform.

https://developer.hashicorp.com/terraform/tutorials/providers-plugin-framework/providers-plugin-framework-logging

@parkedwards
Copy link
Contributor

create helpers that wrap common error operations, like http, and return a diagnostic

https://developer.hashicorp.com/terraform/plugin/framework/diagnostics

@mitchnielsen mitchnielsen self-assigned this Jun 13, 2024
@mitchnielsen mitchnielsen added the enhancement New feature or request label Jun 13, 2024
mitchnielsen added a commit that referenced this issue Jun 13, 2024
Adds logging for the Prefect provider client creation, ensuring we mask
the API key in the output.

Closes #42
@mitchnielsen mitchnielsen mentioned this issue Jun 13, 2024
3 tasks
mitchnielsen added a commit that referenced this issue Jun 13, 2024
Adds logging for the Prefect provider client creation, ensuring we mask
the API key in the output.

Closes #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants