Trouble with terraform plan for cloudflare_pages_project
Account ID: 4209f7e836df3329fbf9160344873f1d
Link: dev-consumer-portal.pages.dev
Support Case: https://www.support.cloudflare.com/support/s/case/500Nv00000HBFV0IAP/terraform-plan-failing-for-cloudflarepagesproject
9 Replies
You don't have account_id set
API route should be accounts/{accountId}/pages
it's missing the account ID indicating it isn't set
so I've hardcoded the "accountId" in the terraform:
I don't think there is another way to set the account ID
Is there a way in which I should be passing the account_id in that I don't know about?
The ticket has more information of what has been tried
Can you apply with
TF_LOG=debug
and share the log file?Yeah something is causing the account ID to not be past to the request. However, you are using a very old version of the provider 3.35.0 was released on Feb 19, 2023. You should upgrade to the latest release which is 4.48 or something close to that
I went ahead and upgraded to 4.48, using the latest Terraform version. This is still not working. The error looks like this:
would it be possible to find some time for a quick meeting?
?
I am not a Cloudflare employee just a volunteer. I see you made an issue on GitHub as well. Only thing I can think of is some bug within terraform itself