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] committed Mar 20, 2023
1 parent cbd1cfe commit 357596b
Show file tree
Hide file tree
Showing 944 changed files with 2,832 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changes/unreleased/BUG FIXES-20230209-172935.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

kind: BUG FIXES
body: 'types/basetypes: Fixed `Float64Type` type `ValueFromTerraform` method to handle
valid, stringified numbers from Terraform'
Expand Down
3 changes: 3 additions & 0 deletions .changes/unreleased/BUG FIXES-20230210-092136.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

kind: BUG FIXES
body: 'resource: Prevented nested attribute and block plan modifications from being undone'
time: 2023-02-10T09:21:36.848573-05:00
Expand Down
3 changes: 3 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20230209-172838.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

kind: ENHANCEMENTS
body: 'internal/fwserver: Added `DEBUG` logging to aid troubleshooting unexpected
plans with unknown values'
Expand Down
3 changes: 3 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20230314-144231.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

kind: ENHANCEMENTS
body: 'types/basetypes: Add `BoolValue` type `NewBoolPointerValue()` creation function
and `ValueBoolPointer()` method'
Expand Down
3 changes: 3 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20230314-144232.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

kind: ENHANCEMENTS
body: 'types/basetypes: Add `Float64Value` type `NewFloat64PointerValue()` creation function
and `ValueFloat64Pointer()` method'
Expand Down
3 changes: 3 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20230314-144233.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

kind: ENHANCEMENTS
body: 'types/basetypes: Add `Int64Value` type `NewInt64PointerValue()` creation function
and `ValueInt64Pointer()` method'
Expand Down
3 changes: 3 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20230314-144234.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

kind: ENHANCEMENTS
body: 'types/basetypes: Add `StringValue` type `NewStringPointerValue()` creation function
and `ValueStringPointer()` method'
Expand Down
3 changes: 3 additions & 0 deletions .changes/unreleased/NOTES-20230209-172818.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

kind: NOTES
body: New `DEBUG` level `Detected value change between proposed new state and prior
state` log messages with the offending attribute path are now emitted when proposed
Expand Down
3 changes: 3 additions & 0 deletions .changes/unreleased/NOTES-20230303-091808.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

kind: NOTES
body: This Go module has been updated to Go 1.19 per the [Go support policy](https://golang.org/doc/devel/release.html#policy).
Any consumers building on earlier Go versions may experience errors.
Expand Down
3 changes: 3 additions & 0 deletions .changie.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

changesDir: .changes
unreleasedDir: unreleased
changelogPath: CHANGELOG.md
Expand Down
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

blank_issues_enabled: false
contact_links:
- name: Provider-related Feedback and Questions
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

issues:
max-per-linter: 0
max-same-issues: 0
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

project_name: terraform-plugin-framework
build:
skip: true
Expand Down
3 changes: 3 additions & 0 deletions attr/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// Package attr contains type and value interfaces for core framework and
// provider-defined data types. The underlying xattr package contains
// additional interfaces for advanced type functionality.
Expand Down
3 changes: 3 additions & 0 deletions attr/type.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package attr

import (
Expand Down
3 changes: 3 additions & 0 deletions attr/value.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package attr

import (
Expand Down
3 changes: 3 additions & 0 deletions attr/value_state.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package attr

import "fmt"
Expand Down
3 changes: 3 additions & 0 deletions attr/xattr/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// Package xattr contains additional interfaces for attr types. This package
// is separate from the core attr package to prevent import cycles.
package xattr
3 changes: 3 additions & 0 deletions attr/xattr/type.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package xattr

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/config_validator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package datasource

import "context"
Expand Down
3 changes: 3 additions & 0 deletions datasource/configure.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package datasource

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/data_source.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package datasource

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// Package datasource contains all interfaces, request types, and response
// types for a data source implementation.
//
Expand Down
3 changes: 3 additions & 0 deletions datasource/metadata.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package datasource

// MetadataRequest represents a request for the DataSource to return metadata,
Expand Down
3 changes: 3 additions & 0 deletions datasource/read.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package datasource

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package datasource

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/bool_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/bool_attribute_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// Package schema contains all available schema functionality for data sources.
// Data source schemas define the structure and value types for configuration
// and state data. Schemas are implemented via the datasource.DataSource type
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/float64_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/float64_attribute_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/int64_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/int64_attribute_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/list_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/list_attribute_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/list_nested_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/list_nested_attribute_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/list_nested_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/list_nested_block_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/map_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/map_attribute_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/map_nested_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/map_nested_attribute_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/nested_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/nested_attribute_object.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/nested_attribute_object_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/nested_block_object.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/nested_block_object_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/number_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/number_attribute_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/object_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/object_attribute_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/schema.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/schema_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema_test

import (
Expand Down
3 changes: 3 additions & 0 deletions datasource/schema/set_attribute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package schema

import (
Expand Down

0 comments on commit 357596b

Please sign in to comment.