From f3424fa94a31fd506c15022c05de72b136bf23d1 Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Sun, 21 Jun 2026 20:42:35 +0900 Subject: [PATCH 1/2] fix(repository-environment): replace deprecated plaintext_value with value The integrations/github provider deprecated the `plaintext_value` argument on `github_actions_environment_secret` in favor of `value`. Switch to the new argument (and update the commented `encrypted_value` hint to its `value_encrypted` replacement) to silence the deprecation warning. --- modules/repository-environment/main.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/repository-environment/main.tf b/modules/repository-environment/main.tf index dac8961..e5384b8 100644 --- a/modules/repository-environment/main.tf +++ b/modules/repository-environment/main.tf @@ -98,12 +98,12 @@ resource "github_actions_environment_secret" "this" { repository = var.repository environment = github_repository_environment.this.environment - secret_name = each.key - plaintext_value = "placeholder" + secret_name = each.key + value = "placeholder" # key_id = var.key_id - # encrypted_value = each.value + # value_encrypted = each.value lifecycle { - ignore_changes = [plaintext_value] + ignore_changes = [value] } } From 1c4f45e56ceec4b85da8f8262d2c0f5bf97a7a89 Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Sun, 21 Jun 2026 20:53:50 +0900 Subject: [PATCH 2/2] docs(repository-environment): note deprecated secret attributes --- modules/repository-environment/main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/repository-environment/main.tf b/modules/repository-environment/main.tf index e5384b8..939b533 100644 --- a/modules/repository-environment/main.tf +++ b/modules/repository-environment/main.tf @@ -92,6 +92,9 @@ resource "github_actions_environment_variable" "this" { # Secrets for Repository Environment ################################################### +# INFO: Deprecated attributes +# - `plaintext_value` +# - `encrypted_value` resource "github_actions_environment_secret" "this" { for_each = var.secrets