Skip to content

fix: patch to remove failing provider meta schema - #83

Merged
ocobles merged 1 commit into
mainfrom
remove-tf-provider-meta
Mar 6, 2024
Merged

ocobles merged 1 commit into
mainfrom
remove-tf-provider-meta

Conversation

@ocobles

@ocobles ocobles commented Mar 6, 2024 •

Copy link
Copy Markdown
Contributor

Provider was constantly failing in sdk v2 resources with the error in screenshot below. It fails in https://github.com/pulumi/pulumi-terraform-bridge/blob/f6013b69e741bc73632fd42ba2b4630a1f2cc3ff/pkg/tfshim/sdk-v2/provider2.go#L290 and seems to me an error in the terraform bridge plugin. I can't find any explanation why it takes the value of Config instead of Meta. 'm going to open an issue in the bridge plugin but for now I have added this patch to remove the ProviderMetaSchema from the upstream terraform provider, which in fact has no use here in pulumi.

image

Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
@github-actions

github-actions Bot commented Mar 6, 2024

Copy link
Copy Markdown

Does the PR have any schema changes?

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

@ocobles
ocobles merged commit 41cde6f into main Mar 6, 2024
@displague
displague deleted the remove-tf-provider-meta branch March 26, 2024 13:19
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

Successfully merging this pull request may close these issues.

2 participants