terraform/internal/configs
Martin Atkins 383bbdeebc Upgrade to Go 1.17
This includes the addition of the new "//go:build" comment form in addition
to the legacy "// +build" notation, as produced by gofmt to ensure
consistent behavior between Go versions. The new directives are all
equivalent to what was present before, so there's no change in behavior.

Go 1.17 continues to use the Unicode 13 tables as in Go 1.16, so this
upgrade does not require also upgrading our Unicode-related dependencies.

This upgrade includes the following breaking changes which will also
appear as breaking changes for Terraform users, but that are consistent
with the Terraform v1.0 compatibility promises.

- On MacOS, Terraform now requires macOS 10.13 High Sierra or later.

This upgrade also includes the following breaking changes which will
appear as breaking changes for Terraform users that are inconsistent with
our compatibility promises, but have justified exceptions as follows:

- cidrsubnet, cidrhost, and cidrnetmask will now reject IPv4 CIDR
  addresses whose decimal components have leading zeros, where previously
  they would just silently ignore those leading zeros.

  This is a security-motivated exception to our compatibility promises,
  because some external systems interpret zero-prefixed octets as octal
  numbers rather than decimal, and thus the previous lenient parsing could
  lead to a different interpretation of the address between systems, and
  thus potentially allow bypassing policy when configuring firewall rules
  etc.

This upgrade also includes the following breaking changes which could
_potentially_ appear as breaking changes for Terraform users, but that do
not in practice for the reasons given:

- The Go net/url package no longer allows query strings with pairs
  separated by semicolons instead of ampersands. This primarily affects
  HTTP servers written in Go, and Terraform includes a special temporary
  HTTP server as part of its implementation of OAuth for "terraform login",
  but that server only needs to accept URLs created by Terraform itself
  and Terraform does not generate any URLs that would be rejected.
2021-08-17 15:20:05 -07:00
..
configload Upgrade to Go 1.17 2021-08-17 15:20:05 -07:00
configschema configs/configschema: extend block.AttributeByPath to descend into Objects (#29222) 2021-07-22 09:45:33 -04:00
hcl2shim
testdata configs: Include "moved" blocks when merging multiple files into a module 2021-07-01 08:28:02 -07:00
backend.go
compat_shim.go
config.go configs: EntersNewPackage methods for descendant modules 2021-06-03 08:50:34 -07:00
config_build.go Refactoring of module source addresses and module installation 2021-06-03 08:50:34 -07:00
config_build_test.go Refactoring of module source addresses and module installation 2021-06-03 08:50:34 -07:00
config_test.go Refactoring of module source addresses and module installation 2021-06-03 08:50:34 -07:00
depends_on.go
doc.go
escaping_blocks_test.go
experiments.go configs: Include "moved" blocks when merging multiple files into a module 2021-07-01 08:28:02 -07:00
experiments_test.go
module.go configs: Include "moved" blocks when merging multiple files into a module 2021-07-01 08:28:02 -07:00
module_call.go configs: EntersNewPackage methods for descendant modules 2021-06-03 08:50:34 -07:00
module_call_test.go addrs: ModuleRegistryPackage for representing module registry packages 2021-06-03 08:50:34 -07:00
module_merge.go Refactoring of module source addresses and module installation 2021-06-03 08:50:34 -07:00
module_merge_body.go
module_merge_test.go Refactoring of module source addresses and module installation 2021-06-03 08:50:34 -07:00
module_test.go
moved.go configs: For Moved blocks, use addrs.MoveEndpoint instead of addrs.Target 2021-07-01 08:28:02 -07:00
moved_test.go configs: Include "moved" blocks when merging multiple files into a module 2021-07-01 08:28:02 -07:00
named_values.go
named_values_test.go
parser.go
parser_config.go configs: Include "moved" blocks when merging multiple files into a module 2021-07-01 08:28:02 -07:00
parser_config_dir.go
parser_config_dir_test.go configs: valid-modules test ignores experimental features warning 2021-07-01 08:28:02 -07:00
parser_config_test.go
parser_test.go Refactoring of module source addresses and module installation 2021-06-03 08:50:34 -07:00
parser_values.go
parser_values_test.go
provider.go
provider_meta.go
provider_requirements.go
provider_requirements_test.go
provider_test.go
provider_validation.go
provisioner.go
provisioneronfailure_string.go
provisionerwhen_string.go
resource.go
synth_body.go
synth_body_test.go
util.go
variable_type_hint.go
variabletypehint_string.go
version_constraint.go