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

ci: echo comment_id in tf_tests #202

Merged
merged 6 commits into from
Apr 23, 2024
Merged

Conversation

RDhar
Copy link
Member

@RDhar RDhar commented Apr 23, 2024

Signed-off-by: Rishav Dhar 19497993+rdhar@users.noreply.github.com

Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
@github-actions github-actions bot added the tf:plan Pull requests that plan TF code label Apr 23, 2024
Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
Copy link

{"tf":"plan","chdir":"11_fail_data_source_error"}

Error: Read local file data source error
TF Tests by @RDhar via pull_request at 2024-04-23T03:43:16Z.
Error: Read local file data source error

  with data.local_file.path,
  on main.tf line 1, in data "local_file" "path":
   1: data "local_file" "path" {

The file at given path cannot be read.

+Original Error: open /error: no such file or directory

Copy link

{"tf":"plan","chdir":"10_fail_invalid_resource_type"}

Error: Invalid resource type
TF Tests by @RDhar via pull_request at 2024-04-23T03:43:16Z.
Error: Invalid resource type

  on main.tf line 1, in resource "random_pets" "name":
   1: resource "random_pets" "name" {

The provider hashicorp/random does not support resource type "random_pets".
Did you mean "random_pet"?

Copy link

{"tf":"plan","chdir":"11_fail_data_source_error"}

Error: Read local file data source error
TF Tests by @RDhar via pull_request at 2024-04-23T03:43:16Z.
Error: Read local file data source error

  with data.local_file.path,
  on main.tf line 1, in data "local_file" "path":
   1: data "local_file" "path" {

The file at given path cannot be read.

+Original Error: open /error: no such file or directory

Copy link

{"tf":"plan","chdir":"10_fail_invalid_resource_type"}

Error: Invalid resource type
TF Tests by @RDhar via pull_request at 2024-04-23T03:43:16Z.
Error: Invalid resource type

  on main.tf line 1, in resource "random_pets" "name":
   1: resource "random_pets" "name" {

The provider hashicorp/random does not support resource type "random_pets".
Did you mean "random_pet"?

@RDhar RDhar merged commit 4c4eac1 into main Apr 23, 2024
12 checks passed
@RDhar RDhar deleted the ci--echo-comment_id-in-tf_tests branch April 23, 2024 03:45
@github-actions github-actions bot added the tf:apply Pull requests that apply TF code label Apr 23, 2024
Copy link

{"tf":"apply","chdir":"50_pass_one"}

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
TF Tests by @RDhar via pull_request at 2024-04-23T03:45:37Z.
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Copy link

{"tf":"apply","chdir":"52_pass_format_diff"}

Check format diff.
main.tf
--- old/main.tf
+++ new/main.tf
@@ -1,3 +1,3 @@
 resource "random_pet" "name" {
-  count =1
+  count = 1
 }
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
TF Tests by @RDhar via pull_request at 2024-04-23T03:45:37Z.
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Copy link

{"tf":"apply","chdir":"50_pass_one"}

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
TF Tests by @RDhar via pull_request at 2024-04-23T03:45:37Z.
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Copy link

{"tf":"apply","chdir":"52_pass_format_diff"}

Check format diff.
main.tf
--- old/main.tf
+++ new/main.tf
@@ -1,3 +1,3 @@
 resource "random_pet" "name" {
-  count =1
+  count = 1
 }
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
TF Tests by @RDhar via pull_request at 2024-04-23T03:45:37Z.
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Copy link

{"tf":"apply","chdir":"51_pass_character_limit"}

Apply complete! Resources: 10000 added, 0 changed, 0 destroyed.
TF Tests by @RDhar via pull_request at 2024-04-23T03:45:37Z.
Apply complete! Resources: 10000 added, 0 changed, 0 destroyed.

Copy link

{"tf":"apply","chdir":"51_pass_character_limit"}

Apply complete! Resources: 10000 added, 0 changed, 0 destroyed.
TF Tests by @RDhar via pull_request at 2024-04-23T03:45:37Z.
Apply complete! Resources: 10000 added, 0 changed, 0 destroyed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tf:apply Pull requests that apply TF code tf:plan Pull requests that plan TF code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant