Error message:
When using Google Cloud Shell to run Pastures, you may encounter an error like
dial tcp [2607:f8b0:400c:c15::5f]:443: connect: cannot assign requested address
when Terraform calls the Google APIs.
This is a known terraform issue regrading IPv6.
You may try:
- To use a workaround to force Google API calls in Cloud Shell to use an IP from the private.googleapis.com range (199.36.153.8/30 )
- To deploy the foundation code from a local machine that supports IPv6.
Pastures is intended to be a short-lived PoC execution. The chances for error recurrence becomes less and less after you deploy stages 0 and 1 of Cloud Foundation Fabric. Therefore, you just re-run the pasture command.
Tip
You could simply re-run your pasture command and not re-encounter the error.
Error message:
The network resource 'projects/pasture-yourprefix-xxxxxxxxxx/global/networks/yourprefix-lod' is already being used by 'projects/pasture-yourprefix-xxxxxxxxxx-lod/global/addresses/cdf-pasture-datafusion'
This is a transient error encountered during pasture destroy. An underlying terraform destroy operation attempts to remove the Data Fusion deployment before the prequisite destroy operations have completed.
Re-run your pasture command, and you won't re-encounter the error.