Skip to content

Commit

Permalink
[COMPLIANCE] Add Copyright and License Headers
Browse files Browse the repository at this point in the history
  • Loading branch information
hashicorp-copywrite[bot] authored Jul 24, 2023
1 parent ba52b81 commit 998cac6
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/data-sources/consul_peering/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

data "consul_peering" "basic" {
peer_name = "peered-cluster"
}
3 changes: 3 additions & 0 deletions examples/data-sources/consul_peerings/data-source.tf
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

data "consul_peerings" "peers" {}
3 changes: 3 additions & 0 deletions examples/kv/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# Setup the Consul provisioner to use the demo cluster
provider "consul" {
address = "demo.consul.io:80"
Expand Down
3 changes: 3 additions & 0 deletions examples/kv/variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

variable "aws_region" {
description = "The AWS region to create resources in."
default = "us-east-1"
Expand Down
3 changes: 3 additions & 0 deletions examples/resources/consul_certificate_authority/import.sh
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

terraform import certificate_authority.connect connect-ca
3 changes: 3 additions & 0 deletions examples/resources/consul_certificate_authority/resource.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# Using the built-in CA with specific TTL
resource "consul_certificate_authority" "connect" {
connect_provider = "consul"
Expand Down
3 changes: 3 additions & 0 deletions examples/resources/consul_peering/resource.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# Create a peering between the EU and US Consul clusters

provider "consul" {
Expand Down
3 changes: 3 additions & 0 deletions examples/resources/consul_peering_token/resource.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

resource "consul_peering_token" "token" {
peer_name = "eu-cluster"
}
3 changes: 3 additions & 0 deletions examples/resources/consul_prepared_query/import.sh
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

terraform import consul_prepared_query.my_service 71ecfb82-717a-4258-b4b6-2fb75144d856
3 changes: 3 additions & 0 deletions examples/resources/consul_prepared_query/resource.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# Creates a prepared query myquery.query.consul that finds the nearest
# healthy myapp.service.consul instance that has the active tag and not
# the standby tag.
Expand Down

0 comments on commit 998cac6

Please sign in to comment.