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

Update test matrix to reflect latest Consul releases #411

Merged
merged 5 commits into from
Aug 1, 2024

Conversation

nathancoleman
Copy link
Member

@nathancoleman nathancoleman commented Jul 31, 2024

Turns out the tests in this repo haven't been running since the primary branch was switched from master to main. Upon re-enabling them, there were a couple of failures that needed addressing around tf resource dependencies and generated docs.

Copy link
Member Author

@nathancoleman nathancoleman left a 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]
Copy link
Member Author

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({
Copy link
Member Author

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

Copy link
Member

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.
Copy link
Member Author

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

@zalimeni
Copy link
Member

zalimeni commented Aug 1, 2024

Thank you for noticing and fixing this @nathancoleman

@nathancoleman nathancoleman merged commit 45a6e54 into main Aug 1, 2024
5 checks passed
@nathancoleman nathancoleman deleted the update-test-matrix branch August 1, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants