Commit Graph

30169 Commits

Author SHA1 Message Date
Sarah French
a8738731ba
Update glossary.mdx 2022-07-07 14:42:27 +01:00
Laura Pacilio
aeefde7428
Merge pull request #31364 from timgates42/bugfix_typos
docs: Fix a few typos
2022-07-06 17:03:09 -04:00
hc-github-team-tf-core
43027e92ae Cleanup after v1.3.0-alpha20220706 release 2022-07-06 18:26:37 +00:00
hc-github-team-tf-core
410daca668
Release v1.3.0-alpha20220706 2022-07-06 18:14:49 +00:00
James Bardin
9cfe1a5ce8 update CHANGELOG.md 2022-07-06 13:57:33 -04:00
James Bardin
1fba244d3a
Merge pull request #31179 from hashicorp/jbardin/plan-destroy
Call PlanResourceChange for destroy operations
2022-07-06 13:57:13 -04:00
James Bardin
30369650a7
Merge pull request #31343 from hashicorp/jbardin/mock-replace
remove go.mod replacement of `github.com/golang/mock`
2022-07-06 13:49:38 -04:00
James Bardin
26c569e384 s/Capabilities/ServerCapabilities/ 2022-07-06 13:47:35 -04:00
James Bardin
fd742cd544 add e2e test with provider schema capabilities
enable destroy planning for the simple providers used in the e2e tests
2022-07-06 13:47:35 -04:00
James Bardin
6706d52832 check PlanDestroy capability in plugins
This is most easily handled in the plugin code, without involving
Terraform core.

The biggest change here other than checking the PlanDestroy capability,
is the removal of the schema helper methods in the plugins. With the
addition of the capabilities field, combined with the necessity of
checking diagnostics from the schema, the helpers have outlived their
usefulness. Perhaps there's a better pattern for these repetitive calls,
but for now there isn't too extra verbosity involved.
2022-07-06 13:47:35 -04:00
James Bardin
b9f1a5ac57 add Schema Capabilities to protocol 2022-07-06 13:47:35 -04:00
James Bardin
9487cfba28 add test for planned private data in destroy 2022-07-06 13:47:35 -04:00
James Bardin
96c720517f fixup broken test fixtures
some of the minimal test provider implementations didn't check for null
values.
2022-07-06 13:47:35 -04:00
James Bardin
acba1159e4 add provider metas to destroy plan 2022-07-06 13:47:35 -04:00
James Bardin
ccd2c7820a plan resource destroy
Call PlanResourceDestroy during a destroy plan.

This allows providers two new abilities:
- They can evaluate if the plan is valid, notifying users of any
  potential errors before an apply is started, which may not be able to
  complete.
- They can inspect and modify their private data during a destroy plan
  just like they can with an other plan operation.
2022-07-06 13:47:35 -04:00
James Bardin
e95bfe6d19 fix test mocks to behave when planning destroys 2022-07-06 13:47:35 -04:00
Laura Pacilio
a52b44f0bc
Merge pull request #31385 from hashicorp/fix-readme-again
Update README.md
2022-07-05 18:08:37 -04:00
Laura Pacilio
ccb466f3b1
Update README.md 2022-07-05 18:02:19 -04:00
Craig Wright
e3daf4c2a6
Merge pull request #31354 from chtitux/patch-1
Update docs/cli/commands/init: add backtick to readonly value
2022-07-05 14:56:19 -07:00
Laura Pacilio
2daee48675
Merge pull request #31351 from hashicorp/update-format-function-page
Update format function to mention list, map, and null types
2022-07-05 17:45:11 -04:00
Laura Pacilio
7a11e87631 Add example! 2022-07-05 17:32:39 -04:00
Laura Pacilio
15b59fd6c9 Reorder page items and add note about available types to specific verb descriptions 2022-07-05 17:25:08 -04:00
James Bardin
1214a16a63
Merge pull request #31347 from hashicorp/jbardin/remove-etcdv3
remove deprecated etcdv3 backend
2022-07-05 11:50:02 -04:00
Laura Pacilio
8fac3d63d8
Merge pull request #31310 from ianmrose-cm/main
Add shell explanation to remote-exec `inline` argument documentation.
2022-07-05 10:47:12 -04:00
CJ
e6d1716644
Merge pull request #31379 from hashicorp/fix-cdktf-link
Fix Broken CDKTF Link on Terraform Tools page
2022-07-05 09:35:51 -05:00
Laura Pacilio
69ee6fb6c0
Update terraform-tools.mdx 2022-07-05 10:21:36 -04:00
Tim Gates
dce91cafb4
docs: Fix a few typos
There are small typos in:
- docs/planning-behaviors.md
- docs/resource-instance-change-lifecycle.md
- website/README.md

Fixes:
- Should read `exhaustive` rather than `exhastive`.
- Should read `representation` rather than `repesentation`.
- Should read `preferably` rather than `preferrably`.
- Should read `absence` rather than `absense`.
2022-07-02 09:14:05 +10:00
Ian Rosenbery
1e26403677
Update website/docs/language/resources/provisioners/remote-exec.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 14:11:33 -07:00
Martin Atkins
7ed6e87ddd
Update CHANGELOG.md 2022-07-01 09:14:11 -07:00
Martin Atkins
b88e29e473 configs: Show tailored message for optional attrs experiment
Since we've both concluded the module_variables_optional_attrs experiment
and made experiments available only in alpha releases in the same minor
release, we accidentally made the more general message about experiments
not being available mask the specific message about the experiment being
concluded.

In order to give better feedback to those who were participating in the
experiment in earlier Terraform releases, we'll retain a minimal exception
to our checks to allow the "experiment has concluded" error message to
shine through if and only if that is the only selected experiment.
2022-07-01 09:08:12 -07:00
James Bardin
7b19acb7eb
Merge pull request #31350 from hashicorp/jbardin/deprecated-backend-docs
add deprecation notices to backends
2022-07-01 11:11:48 -04:00
James Bardin
8e8c93b0d5
Update website/docs/language/settings/backends/swift.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:26 -04:00
James Bardin
4e93e1c6f5
Update website/docs/language/settings/backends/manta.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:22 -04:00
James Bardin
65acbbd467
Update website/docs/language/settings/backends/etcdv3.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:16 -04:00
James Bardin
a96cf4cb98
Update website/docs/language/settings/backends/etcd.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:09 -04:00
James Bardin
94de72c638
Update website/docs/language/settings/backends/artifactory.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:04 -04:00
Théophile Helleboid - chtitux
53a9ac275a
Update docs/cli/commands/init: add backtick to readonly value 2022-07-01 10:54:03 +04:00
Laura Pacilio
0dfda6a6bd
Merge pull request #31348 from hashicorp/fix-apt-page
Update commands for new Ubuntu version
2022-06-30 17:58:09 -04:00
Laura Pacilio
d0bb3726cd formatting fix 2022-06-30 17:49:41 -04:00
Laura Pacilio
c7f2c03cc3
Update website/docs/cli/install/apt.mdx 2022-06-30 17:41:39 -04:00
Laura Pacilio
91d6c50ccc
Update website/docs/language/functions/format.mdx 2022-06-30 17:35:50 -04:00
Laura Pacilio
e90f9286c2
Update format function to mention list/map types 2022-06-30 17:28:59 -04:00
Laura Pacilio
2839aab709
Update website/docs/cli/install/apt.mdx
Co-authored-by: Robin Norwood <rnorwood@hashicorp.com>
2022-06-30 17:12:18 -04:00
Laura Pacilio
a2798da37b
Update website/docs/cli/install/apt.mdx
Co-authored-by: Robin Norwood <rnorwood@hashicorp.com>
2022-06-30 17:12:13 -04:00
James Bardin
7941b2fbdc add deprecation notices to backends 2022-06-30 16:46:12 -04:00
Laura Pacilio
831627cbe4 final formatting nits and language fixes 2022-06-30 16:13:03 -04:00
Laura Pacilio
bd54ae50a6 fix formatting 2022-06-30 15:46:06 -04:00
Laura Pacilio
add1e7f3ea Merge branch 'fix-apt-page' of github.com:hashicorp/terraform into fix-apt-page 2022-06-30 15:41:22 -04:00
Laura Pacilio
cb022818ee tiny nits 2022-06-30 15:40:48 -04:00
Laura Pacilio
d0664bce0e
Update website/docs/cli/install/apt.mdx 2022-06-30 15:37:54 -04:00