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

Test: secrets flowing into first-class providers #188

Open
t0yv0 opened this issue Mar 6, 2025 · 0 comments
Open

Test: secrets flowing into first-class providers #188

t0yv0 opened this issue Mar 6, 2025 · 0 comments
Labels
kind/task Work that's part of an ongoing epic

Comments

@t0yv0
Copy link
Member

t0yv0 commented Mar 6, 2025

#164 needs some follow-up tests on secrets passed via first-class provider as in:

const provider = new bucket.Provider("test-provider", {
    aws: {
        "region": pulumi.secret("us-west-2") // opentofu provider configuration
    }
})

const m = new bucket.Module("mymod", {}, {provider: provider});

We need to make sure that TOFU receives the un-secreted value, that secret does not leak into the statefile. There may be some complication here due to JSON-encoding of config values, where TypeScript and YAML programs behave differently.

@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Mar 6, 2025
@t0yv0 t0yv0 removed the needs-triage Needs attention from the triage team label Mar 6, 2025
@mjeffryes mjeffryes added the kind/task Work that's part of an ongoing epic label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Work that's part of an ongoing epic
Projects
None yet
Development

No branches or pull requests

3 participants