-
Notifications
You must be signed in to change notification settings - Fork 112
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
Update test matrix to reflect latest Consul releases #411
Conversation
`main` is now the primary branch for this repo
8ba20b4
to
c7a855b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personal Review
@@ -595,6 +595,8 @@ resource "consul_config_entry" "service_intentions" { | |||
name = consul_config_entry.sd.name | |||
kind = "service-intentions" | |||
|
|||
depends_on = [consul_config_entry.jwt_provider] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This keeps tf from trying to delete the jwt provider before the service intention has been deleted. Before, the tf destroy was failing because Consul won't allow the provider to be removed if any intentions still reference it.
@@ -2,7 +2,7 @@ | |||
resource "consul_certificate_authority" "connect" { | |||
connect_provider = "consul" | |||
|
|||
config_json = jsondecode({ | |||
config_json = jsonencode({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appeared to be a typo from #341 , but please double-check me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah seems like an autocomplete mixup
@@ -3,7 +3,7 @@ | |||
page_title: "consul_acl_binding_rule Resource - terraform-provider-consul" | |||
subcategory: "" | |||
description: |- | |||
Starting with Consul 1.5.0, the consulaclbinding_rule resource can be used to managed Consul ACL binding rules. | |||
Starting with Consul 1.5.0, the consul_acl_binding_rule resource can be used to managed Consul ACL binding rules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a result of rerunning the docs generation process
Thank you for noticing and fixing this @nathancoleman |
Turns out the tests in this repo haven't been running since the primary branch was switched from
master
tomain
. Upon re-enabling them, there were a couple of failures that needed addressing around tf resource dependencies and generated docs.