Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from hashicorp:main #5

Open
wants to merge 1,346 commits into
base: main
Choose a base branch
from
Open

[pull] main from hashicorp:main #5

wants to merge 1,346 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Apr 6, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Apr 6, 2024
liamcervante and others added 29 commits November 18, 2024 16:09
* fix equivalence tests

* actually use message input
undeclared variables must be allowed during apply
* Complete equivalence test implementation

* use proper github actions bot
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fix typo: correct "infrastruture" to "infrastructure"
Clarify single-removal behavior in `trimsuffix` and `trimprefix` docs
…nts-operators-reference

Fix for incorrect rendering of > as ≥ in version constraints
* update noisy equivalence test

* also run on opened PRs

* don't need to ignore fields anymore
This includes sections on the introduction of S3 native state locking and the removal of deprecated root level attributes related to role assumption which have been replaced by the `assume_role` block.
* equivalence testing: use --intent-to-add to include new file diffs

* also update github commit name
Co-authored-by: hc-github-team-tf-core <github-team-tf-core@hashicorp.com>
In Fedora Linux 41, which uses DNF5, backward compatibility with DNF4 was intentionally broken. The method for adding repositories via dnf config-manager has changed to use new sub-commands, such as addrepo.

Signed-off-by: Bruno Schaatsbergen git@bschaatsbergen.com

Signed-off-by: Bruno Schaatsbergen git@bschaatsbergen.com
* Update docs for .netrc integration with provider downloads

* Apply suggestions from code review

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* tidy up after weird auto-merge

---------

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
* Remove Interpolation-only expressions from website/docs files

Interpolation-only expressions are deprecated in Terraform v0.12.14
See. https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.10.0/docs/rules/terraform_deprecated_interpolation.md

* Revert whitespace trimming at the end of lines

* Preserve interpolation-only expressions for JSON

* Preserve interpolation-only expressions for < 0.11 samples

* Remove Interpolation-only expressions from website/docs files
The `tbz2` extension, a shorthand for `tar.bz2`, is supported for downloading and handling compressed archives in go-getter, which already treats both `tbz2` and `tar.bz2` as using the same bzip2 decompressor. This commit adds support for the `tbz2` decompressor when fetching modules from a source.

Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
- Grouped decompressor extensions (bz2, gzip, xz, zip).
- Grouped getters (protocol-based, cloud storage, version control, file-based).

Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
DanielMSchmidt and others added 30 commits January 16, 2025 11:55
By changing the folder changie uses for the changelog we can
make sure that users can put the changelog entries into a specific
folder based on if the change will be backported. This way it will
only appear in the patch release of the maintenance branch and not
in the changelog of the current development branch.
Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>
* docs: update mocking docs with new override_during attribute

* include mock_resource and mock_data

* Apply suggestions from code review

Co-authored-by: Brian McClain <brianmmcclain@gmail.com>

---------

Co-authored-by: Brian McClain <brianmmcclain@gmail.com>
…est was skipped (#36315)

* Add ability for TestJUnitXMLFile to access data about whether the test runner was Stopped

* Add details to XML describing why a Run was skipped

* Fix wording

* Code consistency changes

* Move all JUnit-related code down to where it's used

Away from the Views section of the code where it was relevant before

* Move JUnit-related error and warning diags to above where cancellable contexts are created

* Fix wording of user feedback

* Fix test to match updated skipped message text

* Fix test
To verify the schema for yourself, check its definition at the bottom of
`internal/stacks/stackconfig/output_value.go` in this repo. (I also ran an
experiment to make sure, and yep: sensitive is supported as optional, and type
is mandatory.)

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
fixed a typo and changed all lower case delve to Delve since thats how delve them selfs write it
…troy (#36310)

* deferred actions: don't plan partial resources during refresh and destroy

* actually, imports don't trigger during refresh

* Update internal/terraform/node_resource_plan_partialexp.go

Co-authored-by: Nick Fagerlund <nick.fagerlund@gmail.com>

* address comments

---------

Co-authored-by: Nick Fagerlund <nick.fagerlund@gmail.com>
* go get github.com/hashicorp/go-getter@v1.7.8

* Sync deps
Minor corrections in debugging.md
Typo and case consistency in dependency-upgrades.md
* update go-cty to latest patch release

* also fixes other bug
…inside `<failure>` elements, use the error message as the `message` attribute (#36316)

* Add details to `<failure>` element describing which assertion failed

* Remove unused diagnostic string

* Set `message` attribute of `<failure>` element to failed assertion's error message

* Make `<failure>` contain diagnostic's message, refactor how `message` attribute is set

* Ensure that system-err is only added when needed

* Update test fixtures

* Make diags usage clearer, ensure all test failure diags in "failure" element

* Refactor how "skipped" element value is set

* Fix failing test Test_TestJUnitXMLFile_Save
* Update `test` command docs to include `-junit-xml` flag

* Document flag incompatibilty in docs

* Add details about how XML's contents maps to `test` concepts, and include info about attributes

* Update XML example to reflect recent changes

* Simplify content

* Apply suggestions from code review

Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>

---------

Co-authored-by: Radek Simko <radeksimko@users.noreply.github.com>
* Add `DiagnosticComparer` to standardize how diagnostics are compared for equality. This uses code originally in the s3 backend.

Co-authored-by: Graham Davison <gdavison@hashicorp.com>

* Refactor `test` related code to use new comparer

* Refactor `s3` related code to use new comparer

* Replace use of reflect and go-spew with new diagnostics comparison approach

* Fix whitespace

* Make `tfdiags.DiagnosticComparer` a var

* Fix DiagnosticComparer test

---------

Co-authored-by: Graham Davison <gdavison@hashicorp.com>
Adds a new method to the tfdiags API: Warnings() returns a new Diagnostics list containing only diagnostics with a severity of Warning.
The order of operations was incorrect here, with the refresh happening
after the plan was already created. Invert the calls so the updated
state is reflected in the plan output.

We don't need to carry forward the defer response from refresh, since in
the rare case that a read does need to be deferred, the
PlanResourceChange call will return the same response.
orphaned resources must be refreshed before plan
* let the web presence team approve PRs to the website directory

* Remove web team from CODEOWNERS for content directories
…36409)

Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.