winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.59k stars 180 forks source link

`math - tf-aws` test fails with `no space left on device` #6363

Closed garysassano closed 3 days ago

garysassano commented 2 weeks ago

I tried this:

Test run in a PR.

This happened:

│ Error: Failed to install provider
│ 
│ Error while installing hashicorp/aws v5.41.0: write
│ .terraform/providers/registry.terraform.io/hashicorp/aws/5.41.0/linux_amd64/terraform-provider-aws_v5.41.0_x5:
│ no space left on device

I expected this:

No response

Is there a workaround?

Upgrade the GitHub runner's size or free up some space.

Anything else?

No response

Wing Version

No response

Node.js Version

No response

Platform(s)

No response

Community Notes

tsuf239 commented 2 weeks ago

Gh action run can be found here Another error it throws is:

│ Error: Inconsistent dependency lock file
│ 
│ The following dependency selections recorded in the lock file are
│ inconsistent with the current configuration:
│   - provider registry.terraform.io/hashicorp/aws: required by this configuration but no version is selected
│ 
│ To make the initial dependency selections that will initialize the
│ dependency lock file, run:
│   terraform init
╵
garysassano commented 2 weeks ago

@tsuf239 The second error is normal. It expects to find the hashicorp/aws provider in the lockfile, but since the installation failed in the first place, it wouldn't be present.

monadabot commented 3 days ago

Congrats! :rocket: This was released in Wing 0.73.45.