Open hb9cwp opened 2 years ago
Currently, the app has several IP addresses, but I did not allocate any IPs to it:
$ fly ips list
TYPE ADDRESS REGION CREATED AT
v4 37.16.a.b global 4h18m ago
v4 37.16.c.d global 2022-05-19T07:14:49Z
v6 2a09:8280:1::x:y global 2022-05-19T07:14:49Z
v6 2a09:8280:1::y:z global 2h42m ago
$ fly ips private
ID | REGION | IP
-----------*--------*-----------------------------------
3ccxxxx | fra | fdaa:0:....
Hmmm, it works for me. Though one thought I have is that you don't have depends_on set on any resources that depend on the main app. That ensures the main app gets created/reconciled first. See https://github.com/DAlperin/terraform-provider-fly-io/blob/main/examples/main.tf for an example. Let me know what you find.
After appending the fragment below to the "known-good"
example.tf
shown over in Issue #11 ,terraform apply
fails.terraform validate
does not complain, and I cannot see any syntax error either:Append to
example.tf
from Issue #11