Commit Graph

2195 Commits

Author SHA1 Message Date
Rose M Koron
9d815ea727 Merge pull request #32058 from coreyti/patch-1
tiny update to Resource Addressing: "value4"
2023-05-05 16:22:02 -07:00
Rose M Koron
7bc8014f22 Merge pull request #31992 from philomory/patch-1
[docs] Add warning about prefix loss when migrating
2023-05-05 16:12:36 -07:00
Rose M Koron
9ad521eac6 Update website/docs/cli/cloud/migrating.mdx 2023-05-05 16:05:45 -07:00
Rose M Koron
257ed78361 Merge pull request #33119 from willfaught/patch-1
Change separating to grouping
2023-05-05 15:55:27 -07:00
Rose M Koron
374885addf Merge pull request #31977 from petoju/feature/fix-alternative
Fix regex pattern for more alternatives
2023-05-05 15:51:39 -07:00
Rose M Koron
6eee1ba44f Merge pull request #31920 from robpickerill/main
update setsubtract examples to include toset notation
2023-05-05 15:41:51 -07:00
Vishnu Ravindra
f0b3b74f7c website: Switch provider tutorial link from plugin-sdk to plugin-framework (#33129)
Link to plugin-framework tutorial updated
2023-05-01 08:46:13 -04:00
Will Faught
35bef84306 Change separating to grouping 2023-04-28 15:24:52 -07:00
Zac Clifton
3bb6a5896b Feat: Add strcontains function and documentation (#33069)
* add strcontains function and documentation
2023-04-26 20:41:32 +01:00
Craig Wright
c81aef3655 Merge pull request #33064 from willfaught/patch-1 2023-04-21 14:53:55 -07:00
Liam Cervante
aae6990d38 Add native plantimestamp function to Terraform (#32980)
* add plantimestamp function

* documentation

* add missing links

* fix typo
2023-04-21 09:47:28 +02:00
Rémi Lapeyre
af571b2642 Improve environment variable support for the pg backend (#33045)
* Improve environment variable support for the pg backend

This patch does two things:
  - it adds environment variable support to the parameters that did
    not have it (and uses `PG_CONN_STR` instead of `PGDATABASE` which is
    actually more appropriate to match the behavior of other PostgreSQL
    utilities)
  - better documents how to give the connection parameters as environment
    variables for the ones that were already supported based on the
	recommendation of @bsouth00

I will prepare a backport of the documentation part of this once it is
merged.

Closes https://github.com/hashicorp/terraform/issues/33024

* Remove global variable in test of the PG backend
2023-04-21 08:39:19 +02:00
Will Faught
bddd348d74 Remove incorrect space 2023-04-20 20:30:05 -07:00
Matt Smith
2a2e1904ea Document new -or-create flag. 2023-04-11 13:52:59 +02:00
kt
ee2f418f36 Update website/docs/language/settings/backends/azurerm.mdx 2023-04-06 17:19:23 -07:00
Daniel Hibbert
c1b6c45791 added metadata_host param for AzureRM backend. 2023-04-06 16:11:33 -04:00
janaurka
1f603b1a7f backend/pg: Accept connection string in PGDATABASE environment variable 2023-04-05 15:42:44 -07:00
Robert Hafner
dfbb9c2e10 website: templatefile variables are an object, not a map
Although maps and objects are similar, maps require that all values be of the same type while objects can allow different values to have their own type.

This function does not restrict itself to maps- the examples themselves include cases where both strings and lists are passed through, making this an object and not a map.
2023-04-05 15:36:22 -07:00
CJ Horton
2738dc206e update apt install instructions 2023-04-03 13:31:53 -07:00
Craig Wright
9d93415d4c Merge pull request #32898 from hashicorp/bflad/less-null-more-terraform-docs 2023-03-24 09:12:46 -07:00
Craig Wright
d53cb81bed Merge pull request #32889 from fidelity/feature/doc-change 2023-03-21 15:31:34 -07:00
Middleton, Nathan
2213d91746 description feedback change 2023-03-21 16:46:20 +00:00
Brian Flad
9150a1bb75 website: Minor fixes to Provisioners Without a Resource page
Some details about `null_resource` were not updated with the transition to `terraform_data`.
2023-03-21 09:51:40 -04:00
Craig Wright
bd75dade9c Merge pull request #32884 from DocAdam/patch-2 2023-03-20 16:44:34 -07:00
Adam Pugh
3b4207a146 Spelling update
updated: configuratation to configuration
2023-03-19 07:14:06 -05:00
Christopher Hackett
493973d6da Correct docs on Configuration Directory
The option was removed in v0.15 and so is no-longer "plan[ed]" https://newreleases.io/project/github/hashicorp/terraform/release/v0.15.0
2023-03-18 20:22:31 +00:00
Adam Pugh
f4c3611977 Update settings.mdx
updated misspelling to precedence
2023-03-17 11:05:07 -05:00
Bryce Kalow
6b35927cf0 docs: fix up content issues, add content-check command (#32869) 2023-03-16 11:53:13 -05:00
Alan Szlosek Jr
8ab72c249d add docs meta descriptions (#32771)
* add docs meta descriptions

* cleanups

* remove old docs files

* Apply suggestions from code review

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>

* remove testing-experiment from nav data

---------

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2023-03-15 15:56:34 -04:00
Amanda B
956627d661 Update index.mdx New PR for pinning providers
New PR for pinning providers
2023-03-15 14:55:28 -04:00
Judith Malnick
fcc6b7ac7f Add TFC to state doc (#32836)
* add TFC to state doc

* Update website/docs/language/state/index.mdx

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>

---------

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2023-03-14 09:48:53 -07:00
Omar Ismail
bea8ad355c website: v1.4 upgrade guide more guidance on who is affected by the provider cache change 2023-03-09 08:23:20 -08:00
Omar Ismail
189820b6ea Terraform v1.4 Upgrade Guide 2023-03-07 13:53:22 -08:00
Martin Atkins
2a1d98bc06 website: Document TF_PLUGIN_CACHE_MAY_BREAK_DEPENDENCY_LOCK_FILE env var
This is an alternative way to set the CLI configuration setting
plugin_cache_may_break_dependency_lock_file to activate the transitional
compatibility behavior that prefers to break the dependency lock file if
that would create an additional opportunity to use the plugin cache.
2023-03-06 17:17:48 -08:00
Jim Wisniewski
f395efdd83 Update documentation for compact function 2023-03-01 17:34:33 -05:00
Amanda B
93f9cff99f Adding provider constraint best practice statement (#32697)
* Adding provider constraint best practice

Originally communicated here, this statement is missing in newer docs.

https://developer.hashicorp.com/terraform/language/v1.1.x/configuration-0-11/providers?ajs_aid=3cf1bdca-a598-4dc5-b074-6064b276abb6&_gl=1*xuizrx*_ga*MTM1ODg4NTcyMi4xNjY2MTA5NjI1*_ga_P7S46ZYEKW*MTY3NjU2OTMzNS4zMi4wLjE2NzY1Njk0MDMuMC4wLjA.&product_intent=terraform#provider-versions

* Update website/docs/language/providers/index.mdx

Co-authored-by: Judith Malnick <judith@hashicorp.com>

---------

Co-authored-by: Judith Malnick <judith@hashicorp.com>
2023-02-27 09:22:07 -08:00
Ashlee Boyer
32f7b8ebd0 Migrating links to new format 2023-02-23 12:55:56 -05:00
Ashlee Boyer
c5d0bd40b9 Removing test comment 2023-02-23 12:55:35 -05:00
Ashlee Boyer
55f11d07b9 Adding comment for testing 2023-02-23 12:55:15 -05:00
Daniel Banck
b8f3f802f5 Add website docs for metadata functions -json command (#32701)
* Add metadata functions doc to internals

* Add metadata functions to internals nav

* Review feedback

* Renamed the doc
* Fixed small typos

* Update page title
2023-02-20 14:14:32 +00:00
Middleton, Nathan
119f645b41 ECCEAT-1964 join function example added in documentation 2023-02-15 13:15:15 +00:00
James Bardin
55acdc6b31 Merge pull request #32679 from hashicorp/jbardin/terraform-data-docs
initial terraform_data docs
2023-02-14 15:11:58 -05:00
James Bardin
5adea6d58e change provisioner example in terraform_data
The existing example is already covered in the "Provisioners Without a
Resource" section, so make this one slightly different by triggering a
local-exec on multiple resources.
2023-02-14 15:05:41 -05:00
James Bardin
0a25e40aeb updates from review 2023-02-14 14:50:50 -05:00
James Bardin
1d0fc1c6c8 Update website/docs/language/meta-arguments/lifecycle.mdx
Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
2023-02-14 14:11:19 -05:00
James Bardin
f35625820a Update website/docs/language/resources/terraform-data.mdx
Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
2023-02-14 14:10:07 -05:00
James Bardin
df65d16022 replace null_resource with terraform_data
Replace references to null_resource with terraform_data, and link the
use of terraform_data from replace_triggered_by.
2023-02-14 09:48:10 -05:00
Daniel Banck
4fa77727b5 Introduce metadata functions command (#32487)
* Add metadata functions command skeleton

* Export functions as JSON via cli command

* Add metadata command

* Add tests to jsonfunction package

* WIP: Add metadata functions test

* Change return_type & type in JSON to json.RawMessage

This enables easier deserialisation of types when parsing the JSON.

* Skip is_nullable when false

* Update cli docs with metadata command

* Use tfdiags to report function marshal errors

* Ignore map, list and type functions

* Test Marshal function with diags

* Test metadata functions command output

* Simplify type marshaling by using cty.Type

* Add static function signatures for can and try

* Update internal/command/jsonfunction/function_test.go

Co-authored-by: kmoe <5575356+kmoe@users.noreply.github.com>

---------

Co-authored-by: kmoe <5575356+kmoe@users.noreply.github.com>
2023-02-14 14:08:47 +00:00
James Bardin
0328d116c5 initial terraform_data docs 2023-02-13 17:59:31 -05:00
Yin Luo
e9b066f514 Support assume role for cos backend (#32631)
* go get github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts/v20180813@v1.0.588

* feat:support assume_role for COS backend

* update go.mod and go.sum

* change secret_id and secret_key from required to optional

* update cos doc

* update logic by comments

* rm sensitive info in log
2023-02-13 10:25:58 +01:00