Commit Graph

30470 Commits

Author SHA1 Message Date
Craig Wright
dc0f196cbb
Merge pull request #31651 from hashicorp/issue-forms
Migrating from Markdown to Form style Github issues.
2022-08-19 16:44:43 -07:00
Craig Wright
95c133f2ec Modifying the version input to use shell rendering.
This simplifies entry for the user, no longer requiring markdown
formatting wrappers.
2022-08-19 16:29:42 -07:00
Alvin Huang
c27d068830
Merge pull request #31663 from hashicorp/fix-docker-version-label
set PRODUCT_VERSION for default docker build
2022-08-19 13:22:26 -04:00
Laura Pacilio
d20a1fa3b1
Merge pull request #31637 from szemek/system-parameter
docs: Use more consistent naming in Module Registry Protocol documentation
2022-08-19 11:47:18 -04:00
Alvin Huang
634c875bea set PRODUCT_VERSION for default docker build 2022-08-18 12:50:41 -04:00
Brandon Croft
76d40d281d
Merge pull request #31617 from glennsarti/gs/TF-410-add-prep-plan
Add Pre-Plan Run Tasks to Terraform CLI
2022-08-18 10:14:46 -06:00
James Bardin
9c9af81d00
Merge pull request #31660 from hashicorp/jbardin/module-subdir-globs
Expand module subdirectory globs
2022-08-18 12:04:46 -04:00
Glenn Sarti
8562f8a744 Add Pre-Plan Run Tasks to Terraform CLI
Prevously the cloud backend would only render post-plan run tasks. Now
that pre-plan tasks are in beta, this commit updates the plan phase to
render pre-plan run tasks.  This commit also moves some common code to
the common backend as it will be used by other task stages in the
future.
2022-08-18 10:08:57 +08:00
Glenn Sarti
b6a478b683 Update go-tfe to v1.7.0 2022-08-18 10:08:22 +08:00
James Bardin
553b8c6de5 expand module subdir globs 2022-08-17 16:27:58 -04:00
Przemysław Dąbek
39f0d91530
Apply suggestions from code review
Thanks @laurapacilio!

Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-08-17 18:14:29 +02:00
hc-github-team-tf-core
ec9c67e9ca Cleanup after v1.3.0-alpha20220817 release 2022-08-17 15:37:53 +00:00
hc-github-team-tf-core
61b7f83616
Release v1.3.0-alpha20220817 2022-08-17 15:25:05 +00:00
Alisdair McDiarmid
270406632e
Merge pull request #31212 from hashicorp/update-path-cwd
Update wording for 'path.cwd' to be explicit about implications
2022-08-17 09:17:20 -04:00
Alisdair McDiarmid
81b50892ed
Update references.mdx 2022-08-17 09:02:37 -04:00
Alisdair McDiarmid
d7377ca141
Merge branch 'main' into update-path-cwd 2022-08-17 08:58:26 -04:00
Alisdair McDiarmid
4960e6aeba
Merge pull request #31634 from hashicorp/alisdair/optional-object-attribute-explicit-null
typeexpr: Replace null attr values with defaults
2022-08-17 08:54:21 -04:00
Craig Wright
9854783d34
Merge pull request #31648 from nnzv/patch-3
typo: use destructions singular form
2022-08-16 15:17:38 -07:00
Craig Wright
ed274f3788
Merge pull request #31647 from nnzv/patch-2
doc: use american english
2022-08-16 15:16:51 -07:00
Laura Pacilio
79aa4d9197
Update website/docs/language/settings/backends/configuration.mdx 2022-08-16 17:20:16 -04:00
Laura Pacilio
c843f30fb6
Update website/docs/language/settings/backends/configuration.mdx 2022-08-16 17:19:39 -04:00
Craig Wright
aba0ac0fae Migrating from Markdown to Form style Github issues.
The goal of this change is to simplify the process of filing
issues with hashicorp/terraform. In the previous Markdown syntax,
the instructions tended to get washed out in a sea of comment
markers. The new Github Form Issues breaks each section into a form
element, with instructions printed clearly as HTML in the page.

We are further hoping to guide users to the correct repository when
filing provider issues, or the community forums when asking usage
questions.
2022-08-16 12:12:48 -07:00
kmoe
473334cded
Update CHANGELOG.md 2022-08-16 16:54:45 +02:00
kmoe
56a1e0d1c6
allow cross-package move statements (#31556) 2022-08-16 16:52:57 +02:00
Enzo Venturi
235a8b7fcc
typo: use destructions singular form 2022-08-16 01:21:32 -05:00
Enzo Venturi
467f1d32a0
doc: use american english
_Behaviour_ noun is standard in British English.
2022-08-16 01:17:18 -05:00
Martin Atkins
22633a280d website: Optional object attributes handling of null
Previously we didn't describe the interaction between default values and
callers explicitly passing "null".

We treat an explicit null as the same as omitting the attribute when
applying defaults, because that then allows callers to use the typical
pattern for conditional assignment, using explicit null as a fallback
to the module's defined default without having to duplicate that default:
    example = var.foo ? "hello" : null
2022-08-15 14:45:06 -07:00
Alisdair McDiarmid
f79e912a81
Update CHANGELOG.md 2022-08-12 13:55:02 -04:00
Alisdair McDiarmid
27966044ba
Merge pull request #28191 from zimbatm/terraform-fmt-manyargs
command/fmt: support formatting multiple files
2022-08-12 13:53:23 -04:00
Przemysław Dąbek
463340175e
Use consistent naming for path and described parameters 2022-08-12 19:41:12 +02:00
Alisdair McDiarmid
c85ae29419 typeexpr: Replace null attr values with defaults
Previously, when applying defaults to an input variable's given value
before type conversion, we would permit `null` attribute values to
override a specified default. This behaviour is inconsistent with the
intent of the type system underlying Terraform, and represented a
divergence from the treatment of `null` as equivalent to unset which
exists in resources. The same behaviour exists in top-level variable
definitions with `nullable = false`, and we consider this to be the
preferred behaviour here too.

This commit slightly changes default value application such that an
explicit `null` attribute value is treated as equivalent to the
attribute being missing. Default values for attributes will now replace
explicit nulls.
2022-08-12 10:26:36 -04:00
Martin Atkins
2aff67857f website: Remove the legacy v0.11 language documentation
We've been holding on to this snapshot of the old docs from the v0.11
branch ever since the v0.12 release as a courtesy to folks who are still
using Terraform v0.11, since until now we didn't have any way to serve
older versions' docs on the website alongside the current aside from
snapshotting it forward in this way.

However, our website framework now supports publishing multiple versions
at the same time and so the final resting place for these v0.11 docs will
be in the "v1.1" branch, whose content is serving as the documentation
for the "v1.1 and earlier" version selection on the website. While it does
still feel a little awkward to have v0.11 be a subsection of the v1.1
docs, this is at least more honest in that v0.11 _is_ earlier than v1.1,
whereas it's confusing and weird for it to appear under the "v1.2.x"
option and the other versions that will appear later.

In order to avoid breaking incoming links to the old docs we will deploy
this in conjunction with some additional redirects managed by the top-level
terraform-website repository, which will send all paths with the prefix
/language/configuration-0-11 to the equivalent path under
/language/v1.1.x/configuration-0-11 . That redirect rule must exist
outside of this repository because it's a bridge _between_ versions of
the website in this repository, rather than a link to other content within
the same version.
2022-08-11 09:23:38 -07:00
James Bardin
d08e9855f9
Merge pull request #31608 from hashicorp/jbardin/static-validate-warnings
don't lose warnings from static validation
2022-08-10 13:28:15 -04:00
Laura Pacilio
4f431a7599
Merge pull request #31602 from hashicorp/update-readme
Update docs README backporting instructions
2022-08-10 10:42:19 -04:00
James Bardin
9a2b5ceb59 update CHANGELOG.md 2022-08-10 08:57:05 -04:00
James Bardin
893a5336d8 don't lose warnings from static validation
Warnings were dropped from static reference validation if there weren't
also errors in the configuration.
2022-08-09 16:15:56 -04:00
Bob Sutterfield
9ca771c990
Update website/docs/language/expressions/type-constraints.mdx
Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>
2022-08-09 09:46:16 -07:00
Bob Sutterfield
4afba76f4a
Update website/docs/language/expressions/type-constraints.mdx
Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>
2022-08-09 09:45:40 -07:00
Laura Pacilio
748b42715a
Update website/README.md
Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>
2022-08-09 12:18:58 -04:00
Liam Cervante
c4e223c7a0
Only perform the importscheck on added or modified files (#31605) 2022-08-09 16:50:54 +01:00
Laura Pacilio
0e6635b270
Update README.md 2022-08-09 11:47:32 -04:00
Laura Pacilio
96adb97be0
Update README.md 2022-08-09 11:46:48 -04:00
Laura Pacilio
1aa9f49362
Update README.md 2022-08-09 11:45:47 -04:00
Laura Pacilio
4e0c71777c
Update README.md 2022-08-09 11:11:09 -04:00
James Bardin
8354bc46cf
Merge pull request #31576 from hashicorp/jbardin/validate-deprecated-computed
validate deprecated attributes from static traversals
2022-08-09 11:10:13 -04:00
James Bardin
1a5e403329
Merge pull request #31532 from hashicorp/jbardin/static-validate-nested-types
Account for `NestedType` in static traversal validation
2022-08-09 11:08:17 -04:00
Laura Pacilio
19a7527bfe
Update docs README backporting instructions 2022-08-09 11:04:58 -04:00
kmoe
621af43c04
fix missing output for applyable refresh plans (#31469) 2022-08-09 16:03:59 +01:00
Bob Sutterfield
08f3f675eb
insert missing infinitive particle 2022-08-08 17:17:50 -07:00
James Bardin
25f5a81048 validate deprecated attrs from static traversals
We can't validate that data from deprecated nested attributes is used in
the configuration, but we can at least catch the simple case where a
deprecated attribute is referenced directly.
2022-08-08 09:58:11 -04:00