Skip to content

サービストークンの自動処理設定に必須項目を指定 - #295

Merged
hiroxto merged 1 commit into
mainfrom
fix/organization-service-token-inactivity
Oct 16, 2026
Merged

hiroxto merged 1 commit into
mainfrom
fix/organization-service-token-inactivity

Conversation

@hiroxto

@hiroxto hiroxto commented Oct 16, 2026

Copy link
Copy Markdown
Owner

概要

  • WARPの認証セッションを設定してAccessの適用順序を指定 #294 のapplyで,組織の更新APIがエラー12062を返した。インポート済みの service_token_inactivity に enabled = false しかなく,APIが要求する3項目を満たしていなかった。
  • ignore_changes を削除し,enabled = false,action = "disable",inactivity_threshold_days = 90 を明示する。
  • 自動処理は無効のまま維持する。WARPの認証セッション期間24時間と,組織設定を先に更新する依存関係は維持する。

動作確認

  • mise run fmt,mise run validate:成功。
  • mise run plan:Terraform Cloudで成功。0 to add, 2 to change, 0 to destroy。
    • 組織の service_token_inactivity に不足していた2項目を追加し,WARPの認証セッション期間を24時間に設定する。
    • MusicのWARP認証を許可する更新も含む。先のapplyが失敗したため,未適用の変更として引き続き表示される。
    • 削除・再作成およびシークレット更新の差分はない。
    • Terraform Cloudのplan結果
  • Provider 5.27.0の更新処理とJSONエンコード処理を確認。PUTは変更のない属性も送信するため,ignore_changes では不完全な値の送信を防げない。
  • applyは未実施。planはCloudflareの更新APIを実行しないため,APIエラーの解消は適用後に確認する。

レビュー観点

  • 更新APIに必要な3項目を満たし,自動無効化・削除が無効のままであること。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T13:38:13.181227Z b2c3b2d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hiroxto
hiroxto merged commit c6c73a1 into main Oct 16, 2026
4 checks passed
@hiroxto
hiroxto deleted the fix/organization-service-token-inactivity branch October 16, 2026 13:39
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