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

consul_prepared_query do not read properly their failover, template and dns attributes #108

Closed
remilapeyre opened this issue May 14, 2019 · 0 comments

Comments

@remilapeyre
Copy link
Contributor

resourceConsulPreparedQueryRead does not set properly the failover, template and dns attributes, this makes consul_prepared_query ignore external changes of those attributes.

This can be easily seen by running TF_SCHEMA_PANIC_ON_ERROR=1 make testacc TESTARGS="-count=1 -run=TestAccConsulPreparedQuery_basic":

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -count=1 -run=TestAccConsulPreparedQuery_basic -timeout 120m
?       github.com/terraform-providers/terraform-provider-consul        [no test files]
=== RUN   TestAccConsulPreparedQuery_basic
panic: failover.0.nearest_n: can only set full list
@ghost ghost added bug crash labels May 14, 2019
remilapeyre pushed a commit to remilapeyre/terraform-provider-consul that referenced this issue May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant