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

return diagnostics from provisioners #28753

Merged
merged 1 commit into from
May 19, 2021
Merged

Conversation

jbardin
Copy link
Member

@jbardin jbardin commented May 19, 2021

The calls to resource provisioners were still converting diagnostics to error, which was losing any detail information. We also need to ensure that the builtin provisioners return diagnostics which can be annotated with config context.

Fixes #28707

Do not convert provisioner diagnostics to errors so that users can get
context from provisioner failures.

Return diagnostics from the builtin provisioners that can be annotated
with configuration context and instance addresses.
@jbardin jbardin added the 0.15-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label May 19, 2021
@jbardin jbardin requested a review from a team May 19, 2021 15:32
Copy link
Contributor

@mildwonkey mildwonkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jbardin jbardin merged commit a4ed140 into main May 19, 2021
@jbardin jbardin deleted the jbardin/provisioner-diags branch May 19, 2021 16:54
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
0.15-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Override terraform default script path
2 participants