TF-via-PR icon indicating copy to clipboard operation
TF-via-PR copied to clipboard

feat: `hide_args` option

Open rdhar opened this issue 1 year ago • 2 comments

What?

Option to hide selected argument(s) from the PR comment's command input/header.

Why?

Resolves #278.

rdhar avatar Aug 16 '24 00:08 rdhar

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.

github-actions[bot] avatar Sep 09 '24 16:09 github-actions[bot]

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.

github-actions[bot] avatar Sep 09 '24 16:09 github-actions[bot]

Superseded by #327.

rdhar avatar Oct 20 '24 23:10 rdhar