Skip to content
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

Support D1 #2544

Closed
brendonmatos opened this issue Jun 23, 2023 · 5 comments · Fixed by #2850
Closed

Support D1 #2544

brendonmatos opened this issue Jun 23, 2023 · 5 comments · Fixed by #2850
Labels
kind/enhancement Categorizes issue or PR as related to improving an existing feature. workflow/pending-upstream-library Indicates an issue or PR requires changes from an upstream library.

Comments

@brendonmatos
Copy link

Current Terraform and Cloudflare provider version

Terraform v1.4.6
on darwin_arm64

  • provider registry.terraform.io/cloudflare/cloudflare v4.7.1

Description

Currently it is not possible to create a D1 instance via this provider.

Use cases

https://developers.cloudflare.com/d1/

Potential Terraform configuration

resource "cloudflare_d1_database" "posts_db" {
  account_id = "xxxxxxxxxxx"
  name       = "posts"
}

References

No response

@brendonmatos brendonmatos added kind/enhancement Categorizes issue or PR as related to improving an existing feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 23, 2023
@github-actions
Copy link
Contributor

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@jacobbednarz jacobbednarz added workflow/pending-upstream-library Indicates an issue or PR requires changes from an upstream library. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 23, 2023
@elithrar
Copy link

elithrar commented Aug 1, 2023

D1 will aim to have support by GA. Since D1 is still in alpha, we may make breaking changes (we have made several already) to the API surface as we iterate / act on feedback.

@xokaido
Copy link

xokaido commented Oct 17, 2023

How do we use this feature @jacobbednarz ? The proposed code

resource "cloudflare_d1_database" "posts_db" {
  account_id = "xxxxxxxxxxx"
  name       = "posts"
}

Doesn't work.

@jacobbednarz
Copy link
Member

@xokaido are you running a dev build? if not, that is expected given it hasn't been released yet.

@xokaido
Copy link

xokaido commented Oct 20, 2023

@jacobbednarz
I see the new version has been released ( 4.17 ) but we're getting an error:
image
I've tried multiple times, always the same response.
Can you help with that or whom do we address this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Categorizes issue or PR as related to improving an existing feature. workflow/pending-upstream-library Indicates an issue or PR requires changes from an upstream library.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants