From b28f6150afbf6b61a3521f7b77025efd6fc47629 Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Wed, 1 Feb 2023 17:27:48 +0000 Subject: [PATCH] [COMPLIANCE] Add Copyright and License Headers --- .github/dependabot.yml | 3 +++ .github/release.yml | 3 +++ builder/main.go | 3 +++ src/_main.yml | 3 +++ src/hcl.yml | 3 +++ src/terraform.yml | 3 +++ tests/snapshot/hcl/basic.hcl | 3 +++ tests/snapshot/hcl/blocks.hcl | 3 +++ tests/snapshot/hcl/comments.hcl | 3 +++ tests/snapshot/hcl/data_sources.hcl | 3 +++ tests/snapshot/hcl/expressions_conditional.hcl | 3 +++ tests/snapshot/hcl/expressions_dynamic.hcl | 3 +++ tests/snapshot/hcl/expressions_for.hcl | 3 +++ tests/snapshot/hcl/expressions_functions.hcl | 3 +++ tests/snapshot/hcl/expressions_operators.hcl | 3 +++ tests/snapshot/hcl/expressions_splat.hcl | 3 +++ tests/snapshot/hcl/expressions_strings.hcl | 3 +++ tests/snapshot/hcl/expressions_traversals.hcl | 3 +++ tests/snapshot/hcl/issue1286.hcl | 3 +++ tests/snapshot/hcl/issue19.hcl | 3 +++ tests/snapshot/hcl/issue41.hcl | 3 +++ tests/snapshot/hcl/issue809.hcl | 3 +++ tests/snapshot/hcl/issue927.hcl | 3 +++ tests/snapshot/hcl/issue941.hcl | 3 +++ tests/snapshot/hcl/modules.hcl | 3 +++ tests/snapshot/hcl/nested_maps.hcl | 3 +++ tests/snapshot/hcl/providers.hcl | 3 +++ tests/snapshot/hcl/variables_input.hcl | 3 +++ tests/snapshot/hcl/variables_local.hcl | 3 +++ tests/snapshot/hcl/variables_output.hcl | 3 +++ tests/snapshot/terraform/basic.tf | 3 +++ tests/snapshot/terraform/blocks.tf | 3 +++ tests/snapshot/terraform/comments.tf | 3 +++ tests/snapshot/terraform/data_sources.tf | 3 +++ tests/snapshot/terraform/expressions_conditional.tf | 3 +++ tests/snapshot/terraform/expressions_dynamic.tf | 3 +++ tests/snapshot/terraform/expressions_for.tf | 3 +++ tests/snapshot/terraform/expressions_functions.tf | 3 +++ tests/snapshot/terraform/expressions_operators.tf | 3 +++ tests/snapshot/terraform/expressions_splat.tf | 3 +++ tests/snapshot/terraform/expressions_strings.tf | 3 +++ tests/snapshot/terraform/expressions_traversals.hcl | 3 +++ tests/snapshot/terraform/issue19.tf | 3 +++ tests/snapshot/terraform/issue809.tf | 3 +++ tests/snapshot/terraform/issue927.tf | 3 +++ tests/snapshot/terraform/issue941.tf | 3 +++ tests/snapshot/terraform/modules.tf | 3 +++ tests/snapshot/terraform/nested_maps.tf | 3 +++ tests/snapshot/terraform/providers.tf | 3 +++ tests/snapshot/terraform/variables_input.tf | 3 +++ tests/snapshot/terraform/variables_local.tf | 3 +++ tests/snapshot/terraform/variables_output.tf | 3 +++ tools/graph.ts | 5 +++++ 53 files changed, 161 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 159bc2b..08aff4e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: 2 updates: - package-ecosystem: "gomod" diff --git a/.github/release.yml b/.github/release.yml index ff23f4c..232ad17 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + changelog: categories: - title: NOTES diff --git a/builder/main.go b/builder/main.go index 65e3691..3c3020e 100644 --- a/builder/main.go +++ b/builder/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/src/_main.yml b/src/_main.yml index a514d42..fd2bd61 100644 --- a/src/_main.yml +++ b/src/_main.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + patterns: - include: "#comments" - include: "#attribute_definition" diff --git a/src/hcl.yml b/src/hcl.yml index bb67716..c72fb53 100644 --- a/src/hcl.yml +++ b/src/hcl.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scopeName: source.hcl name: HashiCorp HCL uuid: a14187be-98d8-42c1-ac89-bb5eaccf911e diff --git a/src/terraform.yml b/src/terraform.yml index af89ad0..7556c8c 100644 --- a/src/terraform.yml +++ b/src/terraform.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + scopeName: source.hcl.terraform name: HashiCorp Terraform uuid: d9db10d3-db70-48aa-8d44-f96ccbaa29f3 diff --git a/tests/snapshot/hcl/basic.hcl b/tests/snapshot/hcl/basic.hcl index d73afd8..7b6a6b2 100644 --- a/tests/snapshot/hcl/basic.hcl +++ b/tests/snapshot/hcl/basic.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # line comment // line comment diff --git a/tests/snapshot/hcl/blocks.hcl b/tests/snapshot/hcl/blocks.hcl index 27bd005..09abc8b 100644 --- a/tests/snapshot/hcl/blocks.hcl +++ b/tests/snapshot/hcl/blocks.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + // terraform type block resource "aws_instance" "web" { ami = "ami-a1b2c3d4" diff --git a/tests/snapshot/hcl/comments.hcl b/tests/snapshot/hcl/comments.hcl index 4ef4034..4bfdbb6 100644 --- a/tests/snapshot/hcl/comments.hcl +++ b/tests/snapshot/hcl/comments.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # line comment // line comment diff --git a/tests/snapshot/hcl/data_sources.hcl b/tests/snapshot/hcl/data_sources.hcl index 209d07d..ba2a671 100644 --- a/tests/snapshot/hcl/data_sources.hcl +++ b/tests/snapshot/hcl/data_sources.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "aws_ami" "example" { most_recent = true diff --git a/tests/snapshot/hcl/expressions_conditional.hcl b/tests/snapshot/hcl/expressions_conditional.hcl index f9e1f6b..b14aec7 100644 --- a/tests/snapshot/hcl/expressions_conditional.hcl +++ b/tests/snapshot/hcl/expressions_conditional.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + var.a != "" ? var.a : "default-a" var.example ? tostring(12) : "hello" var.example ? 12 : "hello" diff --git a/tests/snapshot/hcl/expressions_dynamic.hcl b/tests/snapshot/hcl/expressions_dynamic.hcl index 413f41c..a2e1528 100644 --- a/tests/snapshot/hcl/expressions_dynamic.hcl +++ b/tests/snapshot/hcl/expressions_dynamic.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "thing" "name" { name = "tf-test-name" diff --git a/tests/snapshot/hcl/expressions_for.hcl b/tests/snapshot/hcl/expressions_for.hcl index e50a622..93885cf 100644 --- a/tests/snapshot/hcl/expressions_for.hcl +++ b/tests/snapshot/hcl/expressions_for.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + [for s in var.list : upper(s)] [for k, v in var.map : length(k) + length(v)] diff --git a/tests/snapshot/hcl/expressions_functions.hcl b/tests/snapshot/hcl/expressions_functions.hcl index 227e0d4..8a2b596 100644 --- a/tests/snapshot/hcl/expressions_functions.hcl +++ b/tests/snapshot/hcl/expressions_functions.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # numeric abs(23) diff --git a/tests/snapshot/hcl/expressions_operators.hcl b/tests/snapshot/hcl/expressions_operators.hcl index 36e2cb5..6646996 100644 --- a/tests/snapshot/hcl/expressions_operators.hcl +++ b/tests/snapshot/hcl/expressions_operators.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # arithmetic 1 + 2 * 3 / 4 diff --git a/tests/snapshot/hcl/expressions_splat.hcl b/tests/snapshot/hcl/expressions_splat.hcl index c7903b4..9efd7d6 100644 --- a/tests/snapshot/hcl/expressions_splat.hcl +++ b/tests/snapshot/hcl/expressions_splat.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + attr = [for o in var.list : o.id] attr = var.list[*].id diff --git a/tests/snapshot/hcl/expressions_strings.hcl b/tests/snapshot/hcl/expressions_strings.hcl index 843e713..63c9d87 100644 --- a/tests/snapshot/hcl/expressions_strings.hcl +++ b/tests/snapshot/hcl/expressions_strings.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + attr = "hello" attr = "\n\r\t\"\\" diff --git a/tests/snapshot/hcl/expressions_traversals.hcl b/tests/snapshot/hcl/expressions_traversals.hcl index fcff062..4046e68 100644 --- a/tests/snapshot/hcl/expressions_traversals.hcl +++ b/tests/snapshot/hcl/expressions_traversals.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + attr = var.test attr = var.test42 attr = var.test42test diff --git a/tests/snapshot/hcl/issue1286.hcl b/tests/snapshot/hcl/issue1286.hcl index 6c332fd..a8de016 100644 --- a/tests/snapshot/hcl/issue1286.hcl +++ b/tests/snapshot/hcl/issue1286.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "foo" { description = "bar" nullable = true diff --git a/tests/snapshot/hcl/issue19.hcl b/tests/snapshot/hcl/issue19.hcl index 7c17d6d..cce6a64 100644 --- a/tests/snapshot/hcl/issue19.hcl +++ b/tests/snapshot/hcl/issue19.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "test" { type = object({ test_object = map( # here diff --git a/tests/snapshot/hcl/issue41.hcl b/tests/snapshot/hcl/issue41.hcl index 37d58b1..58e80f6 100644 --- a/tests/snapshot/hcl/issue41.hcl +++ b/tests/snapshot/hcl/issue41.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + post-processor "foo" {} diff --git a/tests/snapshot/hcl/issue809.hcl b/tests/snapshot/hcl/issue809.hcl index b0257b9..e4fdc87 100644 --- a/tests/snapshot/hcl/issue809.hcl +++ b/tests/snapshot/hcl/issue809.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { key_name = "testing" test_example = { diff --git a/tests/snapshot/hcl/issue927.hcl b/tests/snapshot/hcl/issue927.hcl index 6e04208..4237f85 100644 --- a/tests/snapshot/hcl/issue927.hcl +++ b/tests/snapshot/hcl/issue927.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "foo" {} output "result-val" { value = var.foo } diff --git a/tests/snapshot/hcl/issue941.hcl b/tests/snapshot/hcl/issue941.hcl index 8fed364..4de4e30 100644 --- a/tests/snapshot/hcl/issue941.hcl +++ b/tests/snapshot/hcl/issue941.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + instance_size = ( #Comment length(var.instance_size) > 0 ? ( #Comment var.instance_size #If instance size is provided, use it. diff --git a/tests/snapshot/hcl/modules.hcl b/tests/snapshot/hcl/modules.hcl index 91bac5d..839fba5 100644 --- a/tests/snapshot/hcl/modules.hcl +++ b/tests/snapshot/hcl/modules.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + module "servers" { source = "./app-cluster" diff --git a/tests/snapshot/hcl/nested_maps.hcl b/tests/snapshot/hcl/nested_maps.hcl index 61c546e..1f8e279 100644 --- a/tests/snapshot/hcl/nested_maps.hcl +++ b/tests/snapshot/hcl/nested_maps.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ipam_configuration = { us-east-1 = { cidr = ["10.0.0.0/16"] diff --git a/tests/snapshot/hcl/providers.hcl b/tests/snapshot/hcl/providers.hcl index c8ee90b..a4f5026 100644 --- a/tests/snapshot/hcl/providers.hcl +++ b/tests/snapshot/hcl/providers.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "google" { project = "acme-app" region = "us-central1" diff --git a/tests/snapshot/hcl/variables_input.hcl b/tests/snapshot/hcl/variables_input.hcl index ceca28c..9dea5e7 100644 --- a/tests/snapshot/hcl/variables_input.hcl +++ b/tests/snapshot/hcl/variables_input.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # input variables variable "image_id" { diff --git a/tests/snapshot/hcl/variables_local.hcl b/tests/snapshot/hcl/variables_local.hcl index 52f2a27..1d824f2 100644 --- a/tests/snapshot/hcl/variables_local.hcl +++ b/tests/snapshot/hcl/variables_local.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { service_name = "forum" owner = "Community Team" diff --git a/tests/snapshot/hcl/variables_output.hcl b/tests/snapshot/hcl/variables_output.hcl index 50feee3..35e2402 100644 --- a/tests/snapshot/hcl/variables_output.hcl +++ b/tests/snapshot/hcl/variables_output.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "instance_ip_addr" { value = aws_instance.server.private_ip } diff --git a/tests/snapshot/terraform/basic.tf b/tests/snapshot/terraform/basic.tf index b617df2..0d7ad7b 100644 --- a/tests/snapshot/terraform/basic.tf +++ b/tests/snapshot/terraform/basic.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # line comment // line comment diff --git a/tests/snapshot/terraform/blocks.tf b/tests/snapshot/terraform/blocks.tf index 5bdfc93..71476ad 100644 --- a/tests/snapshot/terraform/blocks.tf +++ b/tests/snapshot/terraform/blocks.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "aws_instance" "web" { ami = "ami-a1b2c3d4" instance_type = "t2.micro" diff --git a/tests/snapshot/terraform/comments.tf b/tests/snapshot/terraform/comments.tf index 4ef4034..4bfdbb6 100644 --- a/tests/snapshot/terraform/comments.tf +++ b/tests/snapshot/terraform/comments.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # line comment // line comment diff --git a/tests/snapshot/terraform/data_sources.tf b/tests/snapshot/terraform/data_sources.tf index 209d07d..ba2a671 100644 --- a/tests/snapshot/terraform/data_sources.tf +++ b/tests/snapshot/terraform/data_sources.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "aws_ami" "example" { most_recent = true diff --git a/tests/snapshot/terraform/expressions_conditional.tf b/tests/snapshot/terraform/expressions_conditional.tf index f9e1f6b..b14aec7 100644 --- a/tests/snapshot/terraform/expressions_conditional.tf +++ b/tests/snapshot/terraform/expressions_conditional.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + var.a != "" ? var.a : "default-a" var.example ? tostring(12) : "hello" var.example ? 12 : "hello" diff --git a/tests/snapshot/terraform/expressions_dynamic.tf b/tests/snapshot/terraform/expressions_dynamic.tf index 413f41c..a2e1528 100644 --- a/tests/snapshot/terraform/expressions_dynamic.tf +++ b/tests/snapshot/terraform/expressions_dynamic.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "thing" "name" { name = "tf-test-name" diff --git a/tests/snapshot/terraform/expressions_for.tf b/tests/snapshot/terraform/expressions_for.tf index e50a622..93885cf 100644 --- a/tests/snapshot/terraform/expressions_for.tf +++ b/tests/snapshot/terraform/expressions_for.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + [for s in var.list : upper(s)] [for k, v in var.map : length(k) + length(v)] diff --git a/tests/snapshot/terraform/expressions_functions.tf b/tests/snapshot/terraform/expressions_functions.tf index 227e0d4..8a2b596 100644 --- a/tests/snapshot/terraform/expressions_functions.tf +++ b/tests/snapshot/terraform/expressions_functions.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # numeric abs(23) diff --git a/tests/snapshot/terraform/expressions_operators.tf b/tests/snapshot/terraform/expressions_operators.tf index 36e2cb5..6646996 100644 --- a/tests/snapshot/terraform/expressions_operators.tf +++ b/tests/snapshot/terraform/expressions_operators.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # arithmetic 1 + 2 * 3 / 4 diff --git a/tests/snapshot/terraform/expressions_splat.tf b/tests/snapshot/terraform/expressions_splat.tf index c7903b4..9efd7d6 100644 --- a/tests/snapshot/terraform/expressions_splat.tf +++ b/tests/snapshot/terraform/expressions_splat.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + attr = [for o in var.list : o.id] attr = var.list[*].id diff --git a/tests/snapshot/terraform/expressions_strings.tf b/tests/snapshot/terraform/expressions_strings.tf index aa12d6a..42bd5f2 100644 --- a/tests/snapshot/terraform/expressions_strings.tf +++ b/tests/snapshot/terraform/expressions_strings.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + attr = "hello" attr = "\n\r\t\"\\" diff --git a/tests/snapshot/terraform/expressions_traversals.hcl b/tests/snapshot/terraform/expressions_traversals.hcl index fcff062..4046e68 100644 --- a/tests/snapshot/terraform/expressions_traversals.hcl +++ b/tests/snapshot/terraform/expressions_traversals.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + attr = var.test attr = var.test42 attr = var.test42test diff --git a/tests/snapshot/terraform/issue19.tf b/tests/snapshot/terraform/issue19.tf index 18fda2d..14a1866 100644 --- a/tests/snapshot/terraform/issue19.tf +++ b/tests/snapshot/terraform/issue19.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "test" { type = object({ test_object = map( # here diff --git a/tests/snapshot/terraform/issue809.tf b/tests/snapshot/terraform/issue809.tf index b0257b9..e4fdc87 100644 --- a/tests/snapshot/terraform/issue809.tf +++ b/tests/snapshot/terraform/issue809.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { key_name = "testing" test_example = { diff --git a/tests/snapshot/terraform/issue927.tf b/tests/snapshot/terraform/issue927.tf index 6e04208..4237f85 100644 --- a/tests/snapshot/terraform/issue927.tf +++ b/tests/snapshot/terraform/issue927.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "foo" {} output "result-val" { value = var.foo } diff --git a/tests/snapshot/terraform/issue941.tf b/tests/snapshot/terraform/issue941.tf index 8fed364..4de4e30 100644 --- a/tests/snapshot/terraform/issue941.tf +++ b/tests/snapshot/terraform/issue941.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + instance_size = ( #Comment length(var.instance_size) > 0 ? ( #Comment var.instance_size #If instance size is provided, use it. diff --git a/tests/snapshot/terraform/modules.tf b/tests/snapshot/terraform/modules.tf index 91bac5d..839fba5 100644 --- a/tests/snapshot/terraform/modules.tf +++ b/tests/snapshot/terraform/modules.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + module "servers" { source = "./app-cluster" diff --git a/tests/snapshot/terraform/nested_maps.tf b/tests/snapshot/terraform/nested_maps.tf index 61c546e..1f8e279 100644 --- a/tests/snapshot/terraform/nested_maps.tf +++ b/tests/snapshot/terraform/nested_maps.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ipam_configuration = { us-east-1 = { cidr = ["10.0.0.0/16"] diff --git a/tests/snapshot/terraform/providers.tf b/tests/snapshot/terraform/providers.tf index c8ee90b..a4f5026 100644 --- a/tests/snapshot/terraform/providers.tf +++ b/tests/snapshot/terraform/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "google" { project = "acme-app" region = "us-central1" diff --git a/tests/snapshot/terraform/variables_input.tf b/tests/snapshot/terraform/variables_input.tf index ceca28c..9dea5e7 100644 --- a/tests/snapshot/terraform/variables_input.tf +++ b/tests/snapshot/terraform/variables_input.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # input variables variable "image_id" { diff --git a/tests/snapshot/terraform/variables_local.tf b/tests/snapshot/terraform/variables_local.tf index 52f2a27..1d824f2 100644 --- a/tests/snapshot/terraform/variables_local.tf +++ b/tests/snapshot/terraform/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { service_name = "forum" owner = "Community Team" diff --git a/tests/snapshot/terraform/variables_output.tf b/tests/snapshot/terraform/variables_output.tf index 50feee3..35e2402 100644 --- a/tests/snapshot/terraform/variables_output.tf +++ b/tests/snapshot/terraform/variables_output.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "instance_ip_addr" { value = aws_instance.server.private_ip } diff --git a/tools/graph.ts b/tools/graph.ts index 1b61fbc..52db138 100644 --- a/tools/graph.ts +++ b/tools/graph.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + interface Entry { patterns?: { include?: string;