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

Fix PF extra config triggering check config errors #2701

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

VenelinMartinov
Copy link
Contributor

@VenelinMartinov VenelinMartinov commented Dec 9, 2024

Pulumi providers can specify an ExtraConfig field for provider configuration which is exclusive to Pulumi and is not passed to the underlying TF provider. This works correctly for the SDKv2 bridge but the PF bridge errors when that config is used.

This PR fixes that and adds a test.

fixes #2702

@VenelinMartinov VenelinMartinov force-pushed the vvm/fix_extra_config_checkconfig_error branch from acf464d to 4194212 Compare December 10, 2024 11:58
@VenelinMartinov VenelinMartinov changed the title fix extra config triggering pf check config errors Fix PF extra config triggering check config errors Dec 10, 2024
@VenelinMartinov VenelinMartinov force-pushed the vvm/fix_extra_config_checkconfig_error branch from 4194212 to 73e6ad7 Compare December 10, 2024 12:00
@VenelinMartinov VenelinMartinov marked this pull request as ready for review December 10, 2024 12:00
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.50%. Comparing base (c1171a0) to head (52f77e1).
Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2701      +/-   ##
==========================================
+ Coverage   69.47%   69.50%   +0.03%     
==========================================
  Files         301      301              
  Lines       38644    38646       +2     
==========================================
+ Hits        26847    26860      +13     
+ Misses      10272    10262      -10     
+ Partials     1525     1524       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@t0yv0 t0yv0 left a comment

Choose a reason for hiding this comment

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

This looks good, thank you very much!

@VenelinMartinov VenelinMartinov force-pushed the vvm/fix_extra_config_checkconfig_error branch from 73e6ad7 to 52f77e1 Compare December 10, 2024 15:55
@VenelinMartinov VenelinMartinov enabled auto-merge (squash) December 10, 2024 15:56
@VenelinMartinov VenelinMartinov merged commit 22ff1c4 into master Dec 10, 2024
17 checks passed
@VenelinMartinov VenelinMartinov deleted the vvm/fix_extra_config_checkconfig_error branch December 10, 2024 16:48
@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v3.97.1.

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.

Plugin Framework provider error when a Pulumi-exclusive ExtraConfig is specified
4 participants