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

Internal process that checks terraform compliant resources is run twice #178

Closed
2 tasks done
dikhan opened this issue Oct 31, 2019 · 1 comment
Closed
2 tasks done

Comments

@dikhan
Copy link
Owner

dikhan commented Oct 31, 2019

Describe the bug

Seems like the bit of code in charge of finding compliant terraform resources is running twice based on the logging output:

....
2019/10/31 13:56:31 [INFO] found 18 terraform compliant resources (time: 1.572121ms)
....
2019/10/31 13:56:31 [INFO] found 18 terraform compliant resources (time: 1.099505ms)
....

To Reproduce

A clear and concise description on how does it work now and what's the current behaviour.

Steps to reproduce the behavior:

  1. Using an openapi swagger file for the terraform openapi plugin
  2. execute TF_LOG=DEBUG terraform apply
  3. the output will show the above aforementioned dup

Expected behaviour

A clear and concise description of what you expected to happen.

Additional context

Add any other context about the problem here.

Checklist

Don't forget to go through the checklist to make sure the issue is created properly:

  • I have added a corresponding label (feature request/bug/etc) to the issue (right side menu)
  • I have added this issue to the 'API Terraform Provider' GitHub project (right side menu)
@dikhan dikhan added the bug label Oct 31, 2019
@dikhan dikhan mentioned this issue Oct 31, 2019
7 tasks
@dikhan dikhan added this to Backlog in API Terraform Provider (OpenAPI 2.0) via automation Oct 31, 2019
@dikhan dikhan moved this from Backlog to Prioritized Backlog in API Terraform Provider (OpenAPI 2.0) Oct 31, 2019
@dikhan dikhan moved this from Prioritized Backlog to In progress in API Terraform Provider (OpenAPI 2.0) Oct 31, 2019
@dikhan dikhan moved this from In progress to Done in API Terraform Provider (OpenAPI 2.0) Oct 31, 2019
@dikhan
Copy link
Owner Author

dikhan commented Oct 31, 2019

Fixed as part of #177

@dikhan dikhan closed this as completed Oct 31, 2019
dikhan added a commit that referenced this issue Oct 31, 2019
- #171: Support resources where POST operation does not expect any inputs
- #176: Valid terraform compliant endpoint not available as resource in the plugin
- #178: Internal process that checks terraform compliant resources is run twice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant