Closed shivam-sharma7 closed 1 year ago
@gastaldi I don't know why CI failing, any help would be apreciated
You need to run terraform init --upgrade
to also update a lock file
okay
@gastaldi see
shivamsharma@shivam:/mnt/c/Users/shivam sharma/Desktop/Open source project/quarkiverse-devops/terraform-scripts$ terraform init
Initializing the backend...
╷
│ Error: Required token could not be found
│
│ Run the following command to generate a token for app.terraform.io:
│ terraform login
@shivam-sharma7 I've force-pushed what changed with terraform init --upgrade
success
success
success
success
[command]/home/runner/work/_temp/144896ea-f606-4dac-a7cd-2d4ade4d9321/terraform-bin plan -no-color
Running plan in the remote backend. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.
Preparing the remote plan...
The remote workspace is configured to work with configuration at
terraform-scripts relative to the target repository.
Terraform will upload the contents of the following directory,
excluding files or directories as defined by a .terraformignore file
at /home/runner/work/quarkiverse-devops/quarkiverse-devops/.terraformignore (if it is present),
in order to capture the filesystem context the remote workspace expects:
/home/runner/work/quarkiverse-devops/quarkiverse-devops
To view this run in a browser, visit:
https://app.terraform.io/app/quarkiverse/quarkiverse-devops/runs/run-SJ4pg3CRaXNMdrPv
Waiting for the plan to start...
Terraform v1.5.5
on linux_amd64
Initializing plugins and modules...
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
::debug::Terraform exited with code 0.
::debug::stderr:
::debug::exitcode: 0
Pusher: @gastaldi, Action: pull_request
, Workflow: Terraform
Done, thanks for the update!
See letest provider: https://registry.terraform.io/providers/integrations/github/latest/docs/resources/actions_environment_secret