HomePhabricator
Diffusion Comm 9a9fef91a66d

[terraform] Add workspace check

Description

[terraform] Add workspace check

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)

Reviewers: michal, kamil, varun, jon

Reviewed By: michal

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D9046

Details

Provenance
bartekAuthored on Aug 31 2023, 1:11 AM
Reviewer
michal
Differential Revision
D9046: [terraform] Add workspace check
Parents
rCOMM8a4af7fd5fb7: [shared/grpc_clients] Add verify_user_access_token()
Branches
Unknown
Tags
Unknown