Skip to content

Commit 1d321a5

Browse files
committed
backport of commit aaf03d3
1 parent dfbacdc commit 1d321a5

File tree

257 files changed

+1328
-11462
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+1328
-11462
lines changed

.circleci/config.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,6 @@ jobs:
141141
XC_OS: "linux"
142142
XC_ARCH: "arm"
143143

144-
# build all arm64 architecture supported OS binaries
145-
build-arm64:
146-
<<: *build-distros
147-
environment:
148-
<<: *build-env
149-
XC_OS: "darwin"
150-
XC_ARCH: "arm64"
151-
152144
test-docker-full:
153145
executor:
154146
name: go
@@ -272,7 +264,6 @@ workflows:
272264
jobs:
273265
- build-amd64
274266
- build-arm
275-
- build-arm64
276267

277268
website-test:
278269
jobs:

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Hi there,
1010
1111
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
1212
13-
If your issue relates to Terraform Cloud/Enterprise, please contact tf-cloud@hashicorp.support.
1413
If your issue relates to a specific Terraform provider, please open it in the provider's own repository. The index of providers is at https://github.com/terraform-providers.
1514
1615
To fix problems, we need clear reproduction cases - we need to be able to see it happen locally. A reproduction case is ideally something a Terraform Core engineer can git-clone or copy-paste and run immediately, without inventing any details or context.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Terraform Cloud/Enterprise Troubleshooting and Feature Requests
4-
url: https://support.hashicorp.com/hc/en-us/requests/new
5-
about: For issues and feature requests related to the Terraform Cloud/Enterprise platform, please submit a HashiCorp support request or email tf-cloud@hashicorp.support
63
- name: Provider-related Feedback and Questions
74
url: https://github.com/terraform-providers
85
about: Each provider (e.g. AWS, Azure, GCP, Oracle, K8S, etc.) has its own repository, any provider related issues or questions should be directed to appropriate provider repository.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ Hi there,
1010
1111
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
1212
13-
For feature requests concerning Terraform Cloud/Enterprise, please contact tf-cloud@hashicorp.support
14-
15-
If your issue relates to a specific Terraform provider, please open it in the provider's own repository. The index of providers is at https://github.com/terraform-providers.
13+
If your issue relates to a specific Terraform provider, please open it in the provider's own repository. The index of providers is at https://github.com/terraform-providers .
1614
-->
1715

1816
### Current Terraform Version

.github/workflows/issue-comment-created.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/lock.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.hashibot.hcl

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
behavior "remove_labels_on_reply" "remove_stale" {
2+
labels = ["waiting-response", "stale"]
3+
only_non_maintainers = true
4+
}
5+
6+
poll "label_issue_migrater" "provider_migrater" {
7+
schedule = "0 20 * * * *"
8+
new_owner = env.PROVIDERS_OWNER
9+
repo_prefix = "terraform-provider-"
10+
label_prefix = "provider/"
11+
excluded_label_prefixes = ["backend/", "provisioner/"]
12+
excluded_labels = ["build", "cli", "config", "core", "new-provider", "new-provisioner", "new-remote-state", "provider/terraform"]
13+
aliases = {
14+
"provider/google-cloud" = "provider/google"
15+
"provider/influx" = "provider/influxdb"
16+
"provider/vcloud" = "provider/vcd"
17+
}
18+
issue_header = <<-EOF
19+
_This issue was originally opened by @${var.user} as ${var.repository}#${var.issue_number}. It was migrated here as a result of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._
20+
21+
<hr>
22+
23+
EOF
24+
migrated_comment = "This issue has been automatically migrated to ${var.repository}#${var.issue_number} because it looks like an issue with that provider. If you believe this is _not_ an issue with the provider, please reply to ${var.repository}#${var.issue_number}."
25+
}
26+
27+
poll "closed_issue_locker" "locker" {
28+
schedule = "0 50 1 * * *"
29+
closed_for = "720h" # 30 days
30+
no_comment_if_no_activity_for = "1440h" # 60 days
31+
max_issues = 500
32+
sleep_between_issues = "5s"
33+
34+
message = <<-EOF
35+
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
36+
37+
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
38+
EOF
39+
}

CHANGELOG.md

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,54 @@
1-
## 1.1.0 (Unreleased)
1+
## 1.0.3 (Unreleased)
22

3-
NEW FEATURES:
3+
ENHANCEMENTS
44

5-
* cli: `terraform add` generates resource configuration templates ([#28874](https://github.com/hashicorp/terraform/issues/28874))
6-
* config: a new `type()` function, only available in `terraform console` ([#28501](https://github.com/hashicorp/terraform/issues/28501))
5+
* `terraform plan`: The JSON logs (`-json` option) will now include `resource_drift`, showing changes detected outside of Terraform during the refresh step. [GH-29072]
6+
* core: The automatic provider installer will now accept providers that are recorded in their registry as using provider protocol version 6. [GH-29153]
7+
* backend/etcdv3: New argument `max_request_bytes` allows larger requests and for the client, to match the server request limit. [GH-28078]
8+
9+
BUG FIXES:
10+
11+
* `terraform plan`: Will no longer panic when trying to render null maps. [GH-29207]
12+
* backend/pg: Prevent the creation of multiple workspaces with the same name. [GH-29157]
13+
* backend/oss: STS auth is now supported. [GH-29167]
14+
15+
## 1.0.2 (July 07, 2021)
16+
17+
BUG FIXES:
18+
19+
* `terraform show`: Fix crash when rendering JSON plan with sensitive values in state ([#29049](https://github.com/hashicorp/terraform/issues/29049))
20+
* config: The `floor` and `ceil` functions no longer lower the precision of arguments to what would fit inside a 64-bit float, instead preserving precision in a similar way as most other arithmetic functions. ([#29110](https://github.com/hashicorp/terraform/issues/29110))
21+
* config: The `flatten` function was incorrectly treating null values of an unknown type as if they were unknown values. Now it will treat them the same as any other non-list/non-tuple value, flattening them down into the result as-is. ([#29110](https://github.com/hashicorp/terraform/issues/29110))
22+
23+
## 1.0.1 (June 24, 2021)
724

825
ENHANCEMENTS:
926

10-
* config: Terraform now checks the syntax of and normalizes module source addresses (the `source` argument in `module` blocks) during configuration decoding rather than only at module installation time. This is largely just an internal refactoring, but a visible benefit of this change is that the `terraform init` messages about module downloading will now show the canonical module package address Terraform is downloading from, after interpreting the special shorthands for common cases like GitHub URLs. ([#28854](https://github.com/hashicorp/terraform/issues/28854))
27+
* `terraform show`: The JSON plan output now indicates which state values are sensitive. ([#28889](https://github.com/hashicorp/terraform/issues/28889))
28+
* cli: The macOS builds will now resolve hostnames using the system's DNS resolver, rather than the Go library's (incomplete) emulation of it. In particular, this will allow for the more complex resolver configurations often created by VPN clients on macOS, such as when a particular domain must be resolved using different nameservers while VPN connection is active.
1129

1230
BUG FIXES:
1331

14-
* core: Fixed an issue where provider configuration input variables were not properly merging with values in configuration ([#29000](https://github.com/hashicorp/terraform/issues/29000))
15-
* cli: Fixed a crashing bug with some edge-cases when reporting syntax errors that happen to be reported at the position of a newline. ([#29048](https://github.com/hashicorp/terraform/issues/29048))
32+
* `terraform show`: Fix crash with deposed instances in json plan output. ([#28922](https://github.com/hashicorp/terraform/issues/28922))
33+
* `terraform show`: Fix an issue where the JSON configuration representation was missing fully-unwrapped references. ([#28884](https://github.com/hashicorp/terraform/issues/28884))
34+
* `terraform show`: Fix JSON plan resource drift to remove unchanged resources. ([#28975](https://github.com/hashicorp/terraform/issues/28975))
35+
* core: Fix crash when provider modifies and unknown block during plan. ([#28941](https://github.com/hashicorp/terraform/issues/28941))
36+
* core: Diagnostic context was missing for some errors when validating blocks. ([#28979](https://github.com/hashicorp/terraform/issues/28979))
37+
* core: Fix crash when calling `setproduct` with unknown values. ([#28984](https://github.com/hashicorp/terraform/issues/28984))
38+
* backend/remote: Fix faulty Terraform Cloud version check when migrating state to the remote backend with multiple local workspaces. ([#28864](https://github.com/hashicorp/terraform/issues/28864))
39+
40+
## 1.0.0 (June 08, 2021)
41+
42+
Terraform v1.0 is an unusual release in that its primary focus is on stability, and it represents the culmination of several years of work in previous major releases to make sure that the Terraform language and internal architecture will be a suitable foundation for forthcoming additions that will remain backward compatible.
43+
44+
Terraform v1.0.0 intentionally has no significant changes compared to Terraform v0.15.5. You can consider the v1.0 series as a direct continuation of the v0.15 series; we do not intend to issue any further releases in the v0.15 series, because all of the v1.0 releases will be only minor updates to address bugs.
45+
46+
For all future minor releases with major version 1, we intend to preserve backward compatibility as described in detail in [the Terraform v1.0 Compatibility Promises](https://www.terraform.io/docs/language/v1-compatibility-promises.html). The later Terraform v1.1.0 will, therefore, be the first minor release with new features that we will implement with consideration of those promises.
1647

1748
## Previous Releases
1849

19-
For information on prior major and minor releases, see their changelogs:
50+
For information on prior major releases, see their changelogs:
2051

21-
* [v1.0](https://github.com/hashicorp/terraform/blob/v1.0/CHANGELOG.md)
2252
* [v0.15](https://github.com/hashicorp/terraform/blob/v0.15/CHANGELOG.md)
2353
* [v0.14](https://github.com/hashicorp/terraform/blob/v0.14/CHANGELOG.md)
2454
* [v0.13](https://github.com/hashicorp/terraform/blob/v0.13/CHANGELOG.md)

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/internal/backend/remote-state/consul @hashicorp/consul @remilapeyre
88
/internal/backend/remote-state/cos @likexian
99
/internal/backend/remote-state/etcdv2 Unmaintained
10-
/internal/backend/remote-state/etcdv3 Unmaintained
10+
/internal/backend/remote-state/etcdv3 @bmcustodio
1111
/internal/backend/remote-state/gcs @hashicorp/terraform-google
1212
/internal/backend/remote-state/http @hashicorp/terraform-core
1313
/internal/backend/remote-state/manta Unmaintained

commands.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,6 @@ func initCommands(
110110
// that to match.
111111

112112
Commands = map[string]cli.CommandFactory{
113-
"add": func() (cli.Command, error) {
114-
return &command.AddCommand{
115-
Meta: meta,
116-
}, nil
117-
},
118-
119113
"apply": func() (cli.Command, error) {
120114
return &command.ApplyCommand{
121115
Meta: meta,

0 commit comments

Comments
 (0)