Skip to content

After R2 bucket creation, there is diff in plan #5518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
Vovcharaa opened this issue Apr 17, 2025 · 2 comments
Open
3 tasks done

After R2 bucket creation, there is diff in plan #5518

Vovcharaa opened this issue Apr 17, 2025 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. version/5 Categorizes issue or PR as related to version 5 of the provider.

Comments

@Vovcharaa
Copy link

Vovcharaa commented Apr 17, 2025

Confirmation

  • This is a bug with an existing resource and is not a feature request or enhancement. Feature requests should be submitted with Cloudflare Support or your account team.
  • I have searched the issue tracker and my issue isn't already found.
  • I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version

OpenTofu v1.9.0
on darwin_arm64

  • provider registry.opentofu.org/cloudflare/cloudflare v5.3.0

Affected resource(s)

cloudflare_r2_bucket

Terraform configuration files

resource "cloudflare_r2_bucket" "bucket-static" {
  account_id    = var.cloudflare_account_id
  name          = "bucket-name"
  location      = "WEUR"
  jurisdiction  = "eu"
  storage_class = "Standard"
}

Link to debug output

Will send if reproduction fails

Panic output

No response

Expected output

No diff

Actual output

  # cloudflare_r2_bucket.bucket-static will be updated in-place
  ~ resource "cloudflare_r2_bucket" "bucket-static" {
      ~ creation_date = "2025-04-17T07:33:51.803Z" -> (known after apply)
        id            = "bucket-static"
      + jurisdiction  = "eu"
      + location      = "WEUR"
        name          = "bucket-static"
      + storage_class = "Standard"
        # (1 unchanged attribute hidden)
    }

Steps to reproduce

  1. create resource
  2. run terraform/tofu plan

Additional factoids

No response

References

No response

@Vovcharaa Vovcharaa added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Apr 17, 2025
@ps-occrp
Copy link

related to #5373

@jhutchings1 jhutchings1 added version/5 Categorizes issue or PR as related to version 5 of the provider. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Apr 21, 2025
@jhutchings1
Copy link
Collaborator

We're taking a look and have opened an issue with the internal team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. version/5 Categorizes issue or PR as related to version 5 of the provider.
Projects
None yet
Development

No branches or pull requests

3 participants