Commit Graph

804 Commits

Author SHA1 Message Date
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
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
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
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
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
Middleton, Nathan
119f645b41 ECCEAT-1964 join function example added in documentation 2023-02-15 13:15:15 +00: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
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
Middleton, Nathan
925abf1037 ECCEAT-1964 join function description changed in documentation 2023-02-10 16:45:56 +00:00
megan07
d7d8a2262c Merge pull request #32557 from bharathkkb/gcs-backend-impersonate-envvar
Add a GCS backend specific env var for impersonation
2023-02-09 09:28:26 -06:00
Mike Antonelli
961829fa49 Update providers.mdx 2023-02-08 16:53:16 -06:00
kmoe
6236fb506e docs: http backend mtls attributes (#32580) 2023-01-26 14:52:54 +00:00
kmoe
e5c1b8f2c9 Update local-exec.mdx 2023-01-25 16:59:01 +00:00
Gary McDonald
d3a49dacf2 Fix the spelling of network within the setproducts function documentation.
Signed-off-by: Gary McDonald <mcdonagj@dukes.jmu.edu>
2023-01-22 19:53:30 -05:00
bharathkkb
05ff3c3278 Add a GCS backend specific env var for impersonation 2023-01-21 05:20:31 +00:00
Anton Patsev
119bff6ca2 Fix Examples ip_addrs 2023-01-20 18:36:28 +06:00
Wojciech Kwolek
12c03eb71a docs: provisioners: fix formatting on a note
The destroy-time provisioner note was formatted as a code block instead of an actual note.
2023-01-16 12:16:38 +01:00
Michael Matloka
28d7a685a9 Add missing HCL syntax highlighting in composition.mdx 2022-12-30 00:36:19 +01:00
hellertang
9dbaac5975 add accelerate (#32344) 2022-12-07 10:05:42 +00:00
Matthew Garrell
6ebc30ddcb Merge pull request #32007 from alloveras/patch-1
The NETRC environment variable is honoured
2022-12-06 13:16:25 -05:00
Laura Pacilio
1ce0b91e67 Merge pull request #32020 from hashicorp/fix-future-lang-2
Remove future-facing language from docs (WIP)
2022-11-29 15:09:21 -05:00
Craig Wright
96e8bd0c3e Merge pull request #32250 from stefkiourk/patch-2
Grammar and syntax fixes in import.mdx
2022-11-18 17:00:59 -08:00
Stef Ki
3d017bcf8b Grammar and syntax fixes in import.mdx 2022-11-18 16:01:50 +01:00
Stef Ki
a86260755b Added a missing comma on backends.mdx 2022-11-18 15:57:35 +01:00
Brandon Croft
be5984d664 Merge pull request #32004 from hashicorp/brandonc/nested_attr_sensitive
fix: don't reveal nested attributes with sensitive schema
2022-11-02 16:18:04 -06:00
Laura Pacilio
ec42b167d7 fix broken links 2022-10-31 14:46:15 -04:00
Tom Bamford
ff68c8d129 Merge pull request #31966 from kschu91/feature/azure-generic-oidc
backend/azurerm: add support for generic OIDC authentication
2022-10-31 11:25:36 +00:00