Commit Graph

30829 Commits

Author SHA1 Message Date
Laura Pacilio
20b3e8e5a1
Merge pull request #31792 from mferraroni/doc-s3-fix
Modifies permissions needed to use s3 with dynamoDb locks
2022-10-25 11:15:54 -04:00
Laura Pacilio
5937389c6d
Merge pull request #31597 from LiranV/patch-1
Fix can function example
2022-10-25 11:08:37 -04:00
Laura Pacilio
fbfe5b5a87
Merge pull request #31508 from wzyboy/docs/unknwon-value
docs: fix typo regarding unknown values
2022-10-25 11:07:05 -04:00
Laura Pacilio
c3c6f8327f
Merge pull request #31149 from hashicorp/docs-for-each-list-toset
fix(docs): change set to list when recommending using toset()
2022-10-25 11:04:19 -04:00
Laura Pacilio
8b62ab2423
Update website/docs/language/providers/configuration.mdx 2022-10-24 17:46:25 -04:00
Laura Pacilio
0a12ffb683
Update website/docs/language/providers/configuration.mdx 2022-10-24 17:45:59 -04:00
Laura Pacilio
c8a023c398
Update website/docs/language/modules/syntax.mdx 2022-10-24 17:44:41 -04:00
Laura Pacilio
067fac3572
Update website/docs/language/expressions/for.mdx 2022-10-24 17:43:48 -04:00
Laura Pacilio
8ca918d4a5
Update website/docs/language/data-sources/index.mdx 2022-10-24 17:42:57 -04:00
Laura Pacilio
ff9c5f1c59
Update website/docs/internals/provider-network-mirror-protocol.mdx 2022-10-24 17:40:59 -04:00
Laura Pacilio
2df5b5d8b5
Update website/docs/internals/json-format.mdx 2022-10-24 17:39:32 -04:00
Laura Pacilio
0247401266
Update website/docs/internals/json-format.mdx 2022-10-24 17:38:55 -04:00
Laura Pacilio
ef01b2827a
Update website/docs/cli/import/index.mdx 2022-10-24 17:33:27 -04:00
Laura Pacilio
3c0e238370
Update website/docs/cli/commands/validate.mdx 2022-10-24 17:30:45 -04:00
Brandon Croft
bd744ad4e9
Unify all sensitive value plan output as "(sensitive value)"
Previously, there was mixed usage of "(sensitive)" and "(sensitive value)" and even though it was more common to see "(sensitive)", the thought is that it's a value we are hiding rather than describing something already shown.
2022-10-24 12:50:46 -06:00
Brandon Croft
076fccd8e7
fix: don't reveal nested attributes with sensitive schema 2022-10-24 12:50:46 -06:00
Albert Lloveras
095368b4b4
PR Feedback
Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>
2022-10-21 09:48:22 +11:00
James Bardin
730756eca2
Merge pull request #32051 from hashicorp/jbardin/destroy-checkable-outputs
Clean up handling of check-related graph nodes
2022-10-20 15:40:23 -04:00
HashiBot
54de574e2b
chore: Update Digital Team Files (#32037)
* Update generated scripts (website-start.sh)

* Update generated website Makefile

* Update generated scripts (should-build.sh)

* Update generated scripts (website-build.sh)

* chore: update root `Makefile`

Co-authored-by: Kevin Wang <kwangsan@gmail.com>
2022-10-20 14:04:57 -04:00
James Bardin
92c8c76684 fix variable name 2022-10-20 13:14:16 -04:00
James Bardin
a44c859c86 update UIMode comment 2022-10-20 13:13:58 -04:00
Kevin Wang
03e262a70b
chore: rewrite internal redirects (#32038) 2022-10-20 11:31:55 -04:00
James Bardin
ac99cd6051 remove extra import line 2022-10-20 11:03:58 -04:00
James Bardin
28d5a5bf63 NoOp nodes should not have destroy edges
NoOp changes should not participate in a destroy sequence, but because
they are included as normal update nodes the usual connections were
still being made.
2022-10-20 10:59:08 -04:00
James Bardin
586401aeea make naming consistent 2022-10-20 09:36:10 -04:00
James Bardin
8a4883fd13 don't eval checks on destroy 2022-10-19 17:47:53 -04:00
James Bardin
8d11c7f524 the destroy refresh plan should be refresh-only
Refreshing for a destroy should use the refresh-only plan to avoid
planning new objects or evaluating conditions. This should also be
skipped if there is no state, since there would be nothing to refresh.
2022-10-19 17:47:53 -04:00
James Bardin
08081097cb check console with preconditions 2022-10-19 17:47:53 -04:00
James Bardin
a0723442b9 test for incorrectly evaluated outputs 2022-10-19 17:47:53 -04:00
James Bardin
333bdecf39 checks must be registered during eval 2022-10-19 17:47:53 -04:00
James Bardin
1eb22fd94a fix output transformer names
The removeRootOutputs field was not strictly used for that purpose, and
was also copied to another DestroyPlan field.
2022-10-19 17:47:42 -04:00
James Bardin
47b6386348 remove IsFullDestroy workaround
IsFullDestroy was a workaround during apply to detect when the change
set was created by a destroy plan. This no longer works correctly, and
we need to fall back to the UIMode set in the plan.
2022-10-19 14:47:06 -04:00
James Bardin
bcb792ee00 complete the root output expansion
Not all root output instances were going through proper expansion when
destroy operations were involved, leading to cases where they would be
evaluated even though the expected result was only to remove them from
the state.

Normally destroy nodes stand alone in the graph, and do not produce
references to other nodes. Because root output nodes were replaced by
expansion nodes, these were being connected via normal references, even
in the case where we were working with a destroy graph.
2022-10-19 14:42:55 -04:00
James Bardin
8a24d73d15 outputs should not be checked during destroy
Module output may need to be evaluated during destroy in order to
possibly be used by providers. The final state however is that all
objects are destroyed, so preconditions should not be evaluated.
2022-10-19 14:39:21 -04:00
James Bardin
71837d187b walkDestroy op in apply graph 2022-10-19 14:39:00 -04:00
James Bardin
5085ccdfbd fix error message 2022-10-19 14:29:34 -04:00
Liam Cervante
ab8a3f7063
Update go-cty to latest version (#32033)
* Update go-cty to latest version

* go mod tidy
2022-10-18 17:06:10 +02:00
James Bardin
713421c3ab
Merge pull request #31908 from hashicorp/bump_net
go get -u golang.org/x/net
2022-10-18 09:44:59 -04:00
Laura Pacilio
7f6cbc83f7
Update website/docs/language/providers/requirements.mdx 2022-10-17 19:07:17 -04:00
Laura Pacilio
c9f5fdc6ba
Update website/docs/internals/json-format.mdx 2022-10-17 19:03:40 -04:00
Laura Pacilio
31a9fde330 take out currently 2022-10-17 19:00:19 -04:00
Laura Pacilio
9f77c954ec
Update website/docs/language/expressions/for.mdx 2022-10-17 18:31:31 -04:00
Laura Pacilio
096510fdfd
Update website/docs/cli/commands/validate.mdx 2022-10-17 17:49:22 -04:00
Laura Pacilio
90bf2790e0
Update website/docs/cli/commands/validate.mdx 2022-10-17 17:48:42 -04:00
Craig Wright
ae4a8ba77b
Fixing a bug introduced in the review process. 2022-10-17 14:40:47 -07:00
Jarrett Spiker
01bdaebbab
Update website/docs/cli/commands/workspace/delete.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-10-17 11:52:33 -04:00
Jarrett Spiker
3d5dba5c09
Update internal/command/workspace_delete.go
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-10-17 11:52:24 -04:00
Craig Wright
1650bb9892
Merge pull request #31951 from hashicorp/docs-issue-form
Add Documentation Issue form template
2022-10-14 15:35:16 -07:00
Craig Wright
d40b5c7755
Update .github/ISSUE_TEMPLATE/documentation_issue.yml
Co-authored-by: Judith Malnick <judith.patudith@gmail.com>
2022-10-14 15:35:08 -07:00
Laura Pacilio
cf47c71291 Revert "Revert "Remove future-facing statements""
This reverts commit cb975a5fff.
2022-10-14 16:14:20 -04:00