-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
terraform_plan/action: Support "*" resource type
For including all of the resource types
- Loading branch information
1 parent
cd116a7
commit 5ab7aed
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from tirith.providers.terraform_plan import handler | ||
from utils import load_terraform_plan_json | ||
|
||
|
||
def test_action_star_resource_type_should_include_every_resource_types(): | ||
provider_args_dict = {"operation_type": "action", "terraform_resource_type": "*"} | ||
result = handler.provide(provider_args_dict, load_terraform_plan_json("input_implicit_elb_secgroup.json")) | ||
|
||
assert len(result) == 4 |