Skip to content

Commit

Permalink
riddhis feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshasselberg committed Jun 28, 2021
1 parent 957c096 commit 7bb3c8c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
9 changes: 5 additions & 4 deletions docs/guides/consul-federation.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ resource "hcp_consul_cluster" "primary" {
}
resource "hcp_consul_cluster" "secondary" {
hvn_id = hcp_hvn.secondary.hvn_id
cluster_id = var.secondary_cluster_id
tier = "development"
primary_link = hcp_consul_cluster.primary.self_link
hvn_id = hcp_hvn.secondary.hvn_id
cluster_id = var.secondary_cluster_id
tier = "development"
primary_link = hcp_consul_cluster.primary.self_link
auto_hvn_to_hvn_peering = true
}
```
9 changes: 5 additions & 4 deletions examples/guides/consul_cluster_federation/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ resource "hcp_consul_cluster" "primary" {
}

resource "hcp_consul_cluster" "secondary" {
hvn_id = hcp_hvn.secondary.hvn_id
cluster_id = var.secondary_cluster_id
tier = "development"
primary_link = hcp_consul_cluster.primary.self_link
hvn_id = hcp_hvn.secondary.hvn_id
cluster_id = var.secondary_cluster_id
tier = "development"
primary_link = hcp_consul_cluster.primary.self_link
auto_hvn_to_hvn_peering = true
}
1 change: 1 addition & 0 deletions internal/provider/resource_consul_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ func resourceConsulCluster() *schema.Resource {
Type: schema.TypeBool,
Optional: true,
ForceNew: true,
Computed: true,
},
// computed outputs
"organization_id": {
Expand Down

0 comments on commit 7bb3c8c

Please sign in to comment.