Skip to content

Pass secret values as value, and release 0.3.1 - #3

Merged
byjg merged 1 commit into
masterfrom
secret-value-argument
Oct 25, 2026
Merged

byjg merged 1 commit into
masterfrom
secret-value-argument

Conversation

@byjg

@byjg byjg commented Oct 25, 2026

Copy link
Copy Markdown
Owner

What

pulumi-github 6.13 deprecated plaintext_value for value on ActionsSecret and DependabotSecret, so every pulumi up printed one warning per secret:

property "plaintextValue" is deprecated: Use value.

SECRET_APPS now maps each app to its resource and the argument that takes the value:

App Resource Argument
actions ActionsSecret value
dependabot DependabotSecret value
codespaces CodespacesSecret plaintext_value (no value yet, even in 6.15)

Effect on an existing stack

  • Resource names are unchanged, and neither argument is ForceNew in the provider, so nothing is recreated.
  • The first run after upgrading shows an in-place update on every Actions and Dependabot secret, writing the same value. The warnings stop after that.
  • pulumi-github>=6.13.0 already covers value, which first appeared in 6.13.0.

Not in this PR

The pages warning on the owner's <owner>.github.io repository stays: it comes from ignore_changes=["pages"] re-sending the value adopted into the state. Moving Pages to RepositoryPages is a separate change, due before pulumi-github 7 removes the field.

Checked

  • ruff check, ruff format --check, mypy ghfleet: clean.
  • apply() under Pulumi mocks: Actions and Dependabot secrets receive value, Codespaces receives plaintextValue, and the values stay marked as secrets.

pulumi-github 6.13 deprecated `plaintext_value` for `value` on Actions and
Dependabot secrets, and every run warned once per secret. SECRET_APPS now
names the argument each resource takes: `value` for those two, and
`plaintext_value` for Codespaces secrets, which have no `value` yet.

Neither argument forces a replacement, and resource names are unchanged, so
the first run after upgrading updates each secret in place with the same
value.
@byjg
byjg merged commit 507517b into master Oct 25, 2026
3 checks passed
@byjg
byjg deleted the secret-value-argument branch October 25, 2026 17:43
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.

1 participant