Skip to content

Create the first revision of the secret if one doesn't exist yet#225

Merged
BojanOro merged 1 commit into
mainfrom
bojanoro/prodeng-1153-k8s-apply-issue-terragrunt-created-secret-missing
Apr 2, 2026
Merged

Create the first revision of the secret if one doesn't exist yet#225
BojanOro merged 1 commit into
mainfrom
bojanoro/prodeng-1153-k8s-apply-issue-terragrunt-created-secret-missing

Conversation

@BojanOro

@BojanOro BojanOro commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

There are two separate TF resources:

  • The secret container
  • The secret version

We create the container with TF, not the version.

If a version doesn't exist, the script will fail and tell you to run some Terraform, which won't work because we aren't creating the version via TF.

This change just allows us to keep running even if the version is null.

@BojanOro BojanOro requested a review from a team as a code owner April 2, 2026 13:46
@linear-code

linear-code Bot commented Apr 2, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Apr 2, 2026

Copy link
Copy Markdown

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • Create the first revision of the secret if one doesn't exist yet by BojanOro in #225

🤖 This preview updates automatically when you update the PR.

Comment thread sentry_kube/cli/secrets.py
@BojanOro BojanOro merged commit 23ab167 into main Apr 2, 2026
10 checks passed
@BojanOro BojanOro deleted the bojanoro/prodeng-1153-k8s-apply-issue-terragrunt-created-secret-missing branch April 2, 2026 14:59
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