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

Enforce labels secretness #1317

Closed
wants to merge 2 commits into from
Closed

Conversation

iwahbe
Copy link
Member

@iwahbe iwahbe commented Nov 4, 2023

Fixes #1316

This is a WIP PR. The code should be complete, but there are not any tests.

Update:

The bridge is not currently set up to accept secrets from the engine:

https://github.com/pulumi/pulumi-terraform-bridge/blob/218029989c4c3e1086b576dada10f77ccff30cf9/pkg/tfbridge/provider.go#L537-L539

https://github.com/pulumi/pulumi-terraform-bridge/blob/218029989c4c3e1086b576dada10f77ccff30cf9/pf/internal/plugin/provider_server.go#L274-L279

The code in this PR propagates secrets, but it never receives secrets to propagate. Enforcing this will require allowing the bridge to accept secrets. Doing so safely is a large project.

@iwahbe iwahbe self-assigned this Nov 4, 2023
@iwahbe iwahbe marked this pull request as draft November 4, 2023 01:22
@guineveresaenger
Copy link
Contributor

Appreciate your work looking into this, thank you! Let's design a plan for the bridge here. :)

@iwahbe
Copy link
Member Author

iwahbe commented Nov 6, 2023

Blocked on pulumi/pulumi-terraform-bridge#1506.

Base automatically changed from upgrade-terraform-provider-google-beta-to-v5.0.0 to master November 9, 2023 19:22
@iwahbe iwahbe closed this Mar 28, 2024
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.

[v7] Propagate secretness from labels to pulumiLabels and effectiveLabels
2 participants