cloudflare / cloudflare/wildebeest

The GitHub action "download Terraform state" failed whilst deploying

Open
#388 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.1k
Forks
370
PR merge metrics
No merged PRs in 30d

Description

Hi everyone and firstly thanks for Wildebeest. I much appreciate it already.

I did run into a problem during my deploy though. All actions above this one - "download Terraform state" - are successful. However, this one failed. I can see that the KV namespace exists, so any help appreciated.

Paste of the output from the action:

```
Run cloudflare/wrangler-action@2.0.0
/usr/bin/docker run ...etc...
npm WARN deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead

added 101 packages, and audited 102 packages in 2s

11 packages are looking for funding
run `npm fund` for details

found 0 vulnerabilities
Using API Token authentication
$ Running: wrangler kv:key get --namespace-id=eea...NamespaceId...69e terraform.tfstate > ./tf/terraform.tfstate
▲ [WARNING] Processing wrangler.toml configuration:

- D1 Bindings are currently in alpha to allow the API to evolve before general availability.
Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose
Note: Run this command with the environment variable NO_D1_WARNING=true to hide this message

For example: `export NO_D1_WARNING=true && wrangler `
- D1 Bindings are currently in alpha to allow the API to evolve before general availability.
Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose
Note: Run this command with the environment variable NO_D1_WARNING=true to hide this message

For example: `export NO_D1_WARNING=true && wrangler `

✘ [ERROR] Failed to fetch https://api.cloudflare.com/client/v4/accounts/***/storage/kv/namespaces/eea...NamespaceId...69e/values/terraform.tfstate - 404: Not Found);
```

The `eea...NamespaceId...69e` does exist under my https://dash.cloudflare.com/ece...AccountId...3fd/workers/kv/namespaces page.

Many thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.