TF-via-PR
TF-via-PR copied to clipboard
feat: `hide_args` option
What?
Option to hide selected argument(s) from the PR comment's command input/header.
Why?
Resolves #278.
plan -chdir=tests/pass_format_diff -lock=false
Format diff check.
--- old/main.tf
+++ new/main.tf
@@ -1,3 +1,3 @@
resource "random_pet" "name" {
- count =1
+ count = 1
}
Outline of changes.
+ random_pet.name[0] will be created
Plan: 1 to add, 0 to change, 0 to destroy.
TF Tests by @rdhar via pull_request at 2024-09-09T16:53:49Z.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTofu will perform the following actions:
# random_pet.name[0] will be created
+ resource "random_pet" "name" {
+ id = (known after apply)
+ length = 2
+ separator = "-"
}
Plan: 1 to add, 0 to change, 0 to destroy.
plan -chdir=tests/pass_one -lock=false
Outline of changes.
+ random_pet.name[0] will be created
Plan: 1 to add, 0 to change, 0 to destroy.
TF Tests by @rdhar via pull_request at 2024-09-09T16:53:49Z.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTofu will perform the following actions:
# random_pet.name[0] will be created
+ resource "random_pet" "name" {
+ id = (known after apply)
+ length = 2
+ separator = "-"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Superseded by #327.