Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: hide_args option #279

Closed
wants to merge 5 commits into from
Closed

feat: hide_args option #279

wants to merge 5 commits into from

Conversation

rdhar
Copy link
Member

@rdhar rdhar commented Aug 16, 2024

What?

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

Why?

Resolves #278.

Signed-off-by: Rishav Dhar <[email protected]>
@github-actions github-actions bot added the tf:plan Pull requests that plan TF code label Aug 16, 2024
rdhar added 2 commits August 16, 2024 01:29
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
Copy link

github-actions bot commented Sep 9, 2024

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.

Copy link

github-actions bot commented Sep 9, 2024

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.

@rdhar rdhar mentioned this pull request Oct 20, 2024
@rdhar
Copy link
Member Author

rdhar commented Oct 20, 2024

Superseded by #327.

@rdhar rdhar closed this Oct 20, 2024
@rdhar rdhar deleted the add-hide_args-option branch October 20, 2024 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tf:plan Pull requests that plan TF code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub secrets exposed in PR comments
1 participant