Page MenuHomePhabricator

[terraform] Add workspace check
ClosedPublic

Authored by bartek on Aug 31 2023, 1:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 4:53 PM
Unknown Object (File)
Sat, Oct 26, 8:20 PM
Unknown Object (File)
Tue, Oct 22, 1:00 PM
Unknown Object (File)
Tue, Oct 22, 1:00 PM
Unknown Object (File)
Tue, Oct 22, 1:00 PM
Unknown Object (File)
Tue, Oct 22, 5:04 AM
Unknown Object (File)
Sep 28 2024, 1:25 AM
Unknown Object (File)
Sep 13 2024, 5:39 AM
Subscribers

Details

Summary

Resolves ENG-4629.
After nixpkgs upgrade, we have Terraform 1.5 which allows to add check blocks.
This allows us to display a user-friendly error message if the workspace is not set.

Test Plan
terraform workspace select default
terraform plan

Screenshot 2023-08-31 at 10.13.47.png (562×1 px, 140 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable