Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aef40226cd
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| lifecycle { | ||
| destroy = false | ||
| } | ||
| resource "cloudflare_r2_bucket" "moltworker_data" { |
There was a problem hiding this comment.
この cloudflare_r2_bucket.moltworker_data を戻した一方で、同ディレクトリには tfmigrate/20260220122258_rm_r2_bucket.hcl の rm cloudflare_r2_bucket.moltworker_data が残っているため、以前に state から外した環境で既存バケットがCloudflare側に残っている場合、importなしのまま apply すると同名バケット作成が衝突して失敗します。既存インフラを安全に再管理するには、この変更と同時に import か対応する state migration を追加する必要があります。
Useful? React with 👍 / 👎.
Plan Result (terraform/cloudflare/b0xp.io/moltworker)
Change Result (Click me) # cloudflare_r2_bucket.moltworker_data will be created
+ resource "cloudflare_r2_bucket" "moltworker_data" {
+ account_id = "1984a4314b3e75f3bedce97c7a8e0c81"
+ id = (known after apply)
+ location = "APAC"
+ name = "moltbot-data"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Warning: Deprecated Resource
with cloudflare_access_application.moltworker,
on access.tf line 3, in resource "cloudflare_access_application" "moltworker":
3: resource "cloudflare_access_application" "moltworker" {
`cloudflare_access_application` is now deprecated and will be removed in the
next major version. Use `cloudflare_zero_trust_access_application` instead.
(and 2 more similar warnings elsewhere)
|
❌ Apply Failed (terraform/cloudflare/b0xp.io/moltworker)Details (Click me)Feb 21 01:49:20.969 WRN The policy file is ignored unless it is allowed by "aqua policy allow" command.
$ aqua policy allow "/home/runner/work/arch/arch/aqua/aqua-policy.yaml"
If you want to keep ignoring the policy file without the warning, please run "aqua policy deny" command.
$ aqua policy deny "/home/runner/work/arch/arch/aqua/aqua-policy.yaml"
program=aqua version=2.56.6 exe_name=terraform package_name=hashicorp/terraform package_version=v1.14.5 registry=standard policy_file=/home/runner/work/arch/arch/aqua/aqua-policy.yaml doc=https://aquaproj.github.io/docs/reference/codes/003
cloudflare_r2_bucket.moltworker_data: Creating...
Error: Provider produced inconsistent result after apply
When applying changes to cloudflare_r2_bucket.moltworker_data, provider
"provider[\"registry.terraform.io/cloudflare/cloudflare\"]" produced an
unexpected new value: .location: was cty.StringVal("APAC"), but now
cty.StringVal("ENAM").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
|
terraform/cloudflare/b0xp.io/moltworker: Follow up PR was createdApply failed. Please handle the problem.
|
No description provided.