No DROPLET snapshot found with name.... #38
Replies: 3 comments
-
When you run the If terraform cannot find this image it will show you the error you are getting. Did you run the packer command successfully? Can you see a snapshot within the UI? It will have the following format |
Beta Was this translation helpful? Give feedback.
-
Does it have to be a Snapshot for a droplet that actually exists? Or could I create the droplet, make the snapshot, then delete that droplet (and still run the terraform based on it)?
From: Timothy Mamo ***@***.***>
Sent: Friday, June 23, 2023 4:00 AM
To: digitalocean/supabase-on-do ***@***.***>
Cc: oguruma1218 ***@***.***>; Author ***@***.***>
Subject: Re: [digitalocean/supabase-on-do] No DROPLET snapshot found with name.... (Discussion #38)
When you run the terraform plan/apply command terraform looks for the snapshot created with packer in the previous step <https://docs.digitalocean.com/developer-center/hosting-supabase-on-digitalocean/#build-image-using-packer> . You should also be able to see your snapshot within the DigitalOcean cloud UI by clicking on the Images menu in the left navigation bar.
If terraform cannot find this image it will show you the error you are getting. Did you run the packer command successfully? Can you see a snapshot within the UI? It will have the following format supabase-YYYYMMDDHHMMSS with the date format of when you created the snapshot.
—
Reply to this email directly, <#38 (comment)> view it on GitHub, or <https://github.com/notifications/unsubscribe-auth/AIUQ7FJFUKSQBG2SUQYIM3TXMVZKRANCNFSM6AAAAAAZRBX5JQ> unsubscribe.
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AIUQ7FJC3FQVMU5VFQAKR4LXMVZKRA5CNFSM6AAAAAAZRBX5JSWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAL6EYC.gif> Message ID: < ***@***.***> ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
When you run the packer command a droplet is created which is what the snapshot is created from. The droplet is subsequently deleted when once the snapshot is created. Did you run the packer commands as explained in the blog post and the README file? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When running terraform plan, I get the error:
Error: No DROPLET snapshot found with name with data.digitalocean_droplet_snapshot.supabase, on droplet.tf line 1, in data "digitalocean_droplet_snapshot" "supabase": 1: data "digitalocean_droplet_snapshot" "supabase"
I've never used terraform before, so I'm sure I'm doing something wrong.
What exactly does the first line "data.digitalocean_droplet_snapshot" "supabase" represent?
Beta Was this translation helpful? Give feedback.
All reactions