Page MenuHomePhabricator

[terraform] Add workspace check
ClosedPublic

Authored by bartek on Aug 31 2023, 1:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 8, 5:43 PM
Unknown Object (File)
Wed, Jan 8, 5:43 PM
Unknown Object (File)
Mon, Jan 6, 5:28 PM
Unknown Object (File)
Sat, Jan 4, 9:39 PM
Unknown Object (File)
Sun, Dec 29, 11:52 AM
Unknown Object (File)
Mon, Dec 23, 11:43 AM
Unknown Object (File)
Mon, Dec 23, 8:03 AM
Unknown Object (File)
Nov 21 2024, 7:07 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
Branch
barthap/tf-workspace-check
Lint
No Lint Coverage
Unit
No Test Coverage