Commit Graph

105 Commits

Author SHA1 Message Date
Sarah French
d43ec0f30f Add customer-managed encryption key (KMS) support to GCS backend (#31786)
* Add ability to use customer-managed KMS key to encrypt state, add acceptance tests

* Change test names for different encrpytion methods

* Commit files updated by `go mod tidy`

* Add guard against missing ENVs to `setupKmsKey` func

* Update KMS setup function to get credentials from ENVs

* Update tests to not include zero-values in config

This means that default values are supplied later by TF instead of supplied as config from the user

This also avoids issues related to making field conflicts explicit with `ConflictsWith`

* Make `encryption_key` & `kms_encryption_key` conflicting fields

Removing the Default from `encryption_key` does not appear to be a breaking change when tested manually

* Add ability to set `kms_encryption_key` via ENV

* Refactor `encryption_key` to use `DefaultFunc` to access ENV, if set

* Remove comments

* Update `gcs` backend docs & descriptions in schema

* Update `gcs` backend docs to include information on encryption methods

* Apply technical writing suggestions from code review

Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>

* Update documentation to remove passive voice

* Change use of context in tests, add inline comment, update logs

* Remove use of `ReadPathOrContents` for new field

Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>
2022-10-04 10:10:49 +01:00
Martin Atkins
65ad73fe03 website: Tombstone callout for the v1.3 removed backends
We've removed the main documentation pages for the backends that are
removed in Terraform v1.3, but we'll leave a small callout note so that
the backend names are still reachable through our search index once the
v1.3 docs are the active version.

The primary goal here is to help folks who have inherited configurations
using older versions of Terraform to learn about features they see in those
configurations, so the main thing here is the link to the older release
docs which include those. However, this is also a good opportunity to link
to the upgrade guide content which describes some possible migration
paths away from these removed backends.
2022-09-16 10:54:30 -07:00
Bryce Kalow
b54017ef83 website: content updates for developer (#31779)
Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
Co-authored-by: Kevin Wang <kwangsan@gmail.com>
Co-authored-by: Judith Malnick <judith@hashicorp.com>
Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
Co-authored-by: HashiBot <62622282+hashibot-web@users.noreply.github.com>
2022-09-15 15:54:13 -05:00
Laura Pacilio
488bbd80fc Merge pull request #31484 from hashicorp/update-cloud-block-pages
Update Cloud Block Docs
2022-09-09 15:47:35 -04:00
Laura Pacilio
039f884df9 Merge pull request #31547 from hashicorp/clarify-backend-state-storage
Add more context about local backend configuration state file
2022-09-09 15:45:32 -04:00
James Bardin
522556534d remove deprecated backends (#31711)
* remove deprecated backends

* remove backend docs

Remove references to deprecated backends from docs.
2022-08-31 10:17:07 +01: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
Laura Pacilio
f5a503ff87 Add more context about local backend configuration state file 2022-07-29 17:46:10 -04:00
Laura Pacilio
dfd00fc724 Address code review comments 2022-07-28 18:20:11 -04:00
Laura Pacilio
3b79e792ae Update website/docs/language/settings/backends/remote.mdx 2022-07-21 13:53:26 -04:00
Laura Pacilio
c3774292f1 More edits to Terraform Cloud settings page 2022-07-20 17:43:32 -04:00
Laura Pacilio
06ebe9ab59 Update links to point to CLI docs; make Language page clearer 2022-07-20 17:23:05 -04:00
Tom Bamford
dc1f5bccf8 Merge pull request #31070 from hashicorp/f/removing-adal-auth
backend/azurerm: exclusively using Microsoft Graph/MSAL and removing Azure Active Directory Graph/ADAL
2022-07-12 12:18:29 +01:00
Chris Stella
9e3535be9c Added link to "hostname" argument
There should be a link to the argument being referenced for clarity and completeness.
2022-07-07 23:02:45 -07:00
James Bardin
8e8c93b0d5 Update website/docs/language/settings/backends/swift.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:26 -04:00
James Bardin
4e93e1c6f5 Update website/docs/language/settings/backends/manta.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:22 -04:00
James Bardin
65acbbd467 Update website/docs/language/settings/backends/etcdv3.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:16 -04:00
James Bardin
a96cf4cb98 Update website/docs/language/settings/backends/etcd.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:09 -04:00
James Bardin
94de72c638 Update website/docs/language/settings/backends/artifactory.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:04 -04:00
James Bardin
7941b2fbdc add deprecation notices to backends 2022-06-30 16:46:12 -04:00
Laura Pacilio
fa76c1dcf0 apply suggestions from PR review 2022-06-09 14:55:12 -04:00
Laura Pacilio
53d0661785 Add warning note to each backend page 2022-06-08 16:32:01 -04:00
Laura Pacilio
89dbd6a26b Remove overview backends page; add sensitive credentials warning to config page 2022-06-08 16:17:27 -04:00
tombuildsstuff
05528e8c8a backend/azurerm: removing ADAL support 2022-05-18 16:56:10 +02:00
Tom Bamford
d08bc4463d Azure Backend: support OIDC authentication 2022-04-27 19:27:30 +01:00
Tom Harvey
2eb9118cd1 backend/remote-state/azure: defaulting the Azure Backend to use MSAL (#30891)
* backend/remote-state/azure: defaulting the Azure Backend to use MSAL

Fixes #30881

* backend/remote-state/azurerm: deprecating `use_microsoft_graph`
2022-04-20 17:31:44 +02:00
Jane
4de27fc52b Update website/docs/language/settings/terraform-cloud.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-04-01 14:22:14 +08:00
Jane
5b6eaa4fea Add hostname argument to cloud block 2022-03-31 09:50:37 +08:00
Laura Pacilio
38dd0ef2f3 Merge pull request #30423 from noce2/patch-1
Docs Update: Show example of state lock table access control
2022-03-29 15:20:49 -04:00
Nsikan
a813854a82 Update website/docs/language/settings/backends/s3.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-03-29 16:40:59 +01:00
Nsikan Essien
880a4631a2 Add dyanmo docs link and snippet comments 2022-03-14 10:35:34 +00:00
Nsikan
2cda0936bc Update website/docs/language/settings/backends/s3.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-03-14 10:29:19 +00:00
Nsikan Essien
b5300fc793 Incorporate feedback on policy snippet explanation 2022-02-14 18:45:30 +00:00
Laura Pacilio
24cffb5ff3 Soften language for determining run environment 2022-02-09 17:41:12 -05:00
Laura Pacilio
422b47618c Change name example to match new edits 2022-02-09 17:37:06 -05:00
Laura Pacilio
ba0e2c1133 Update remote backend page to clarify workspace.name expression 2022-02-09 14:10:11 -05:00
Nsikan
93762b1abe Show example of state lock table access control 2022-01-26 21:23:05 +00:00
Dylan Staley
21cbb5b392 migrate docs to mdx 2021-12-14 18:41:17 -08:00
Marcus Way
b202eefc7b Update docs to use assume_role block
I'm guessing this document is just out of date, but I got an error when configuring `assume_role` as an argument and had to add an `assume_role` block
2021-12-08 19:33:17 -05:00
Laura Pacilio
168c2885e3 Fix link text 2021-12-08 18:03:26 -05:00
Laura Pacilio
22d80df0ba Fix extra space in link 2021-12-08 18:01:48 -05:00
Laura Pacilio
2edd9f4e10 Update broken links 2021-12-08 17:53:18 -05:00
Martin Atkins
f95dcfe90a website: Fix link from remote backend page to the terraform.workspace docs 2021-12-08 14:08:42 -08:00
Laura Pacilio
0bd3491ef8 Fix typo and update note 2021-12-08 13:55:45 -05:00
Laura Pacilio
d0cb88f091 Updates to TFC page in Language 2021-12-08 13:49:58 -05:00
Judith Malnick
d82211ad7b Keep version note, include introduction and enterprise versioning 2021-12-08 09:49:12 -08:00
Judith Malnick
f514f8eb30 Apply suggestions from code review
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2021-12-08 09:43:18 -08:00
Chris Arcand
099c7269e4 Add Terraform Cloud integration docs 2021-12-07 16:41:48 -06:00
Chris Arcand
b80e98ab47 Misc doc edits referencing state/settings 2021-12-07 16:29:51 -06:00