You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/guides/provider_reference.html.markdown
+1-1
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ authentication options [documented for Google Cloud](https://cloud.google.com/do
96
96
97
97
Place your credentials in a Terraform Cloud [environment variable](https://www.terraform.io/docs/cloud/workspaces/variables.html):
98
98
1. Create an environment variable called `GOOGLE_CREDENTIALS` in your Terraform Cloud workspace.
99
-
2. Remove the newline characters from your JSON key file and then paste the credentials into the environment variable value field.
99
+
2. Remove the newline characters from your JSON key file and then paste the credentials into the environment variable value field. You can use the tr command to strip newline characters. `cat key.json | tr -s '\n' ' '`
100
100
3. Mark the variable as **Sensitive** and click **Save variable**.
101
101
102
102
All runs within the workspace will use the `GOOGLE_CREDENTIALS` variable to authenticate with Google Cloud Platform.
Copy file name to clipboardExpand all lines: website/docs/guides/provider_versions.html.markdown
+8-16
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ description: |-
8
8
9
9
# Google Provider Versions
10
10
11
-
Starting with the `1.19.0` release, there are two versions of the Google
11
+
Starting with the `1.19.0` release, there are two versions of the Google Cloud Platform
12
12
provider:
13
13
14
14
*`google`
@@ -19,18 +19,13 @@ This documentation (https://registry.terraform.io/providers/hashicorp/google/lat
19
19
between both providers, and all generally available (GA) products and features
20
20
are available in both versions of the provider.
21
21
22
-
The `google-beta` provider is distinct from the `google` provider in that it
23
-
supports GCP products and features that are in beta, while `google` does not.
24
-
Fields and resources that are only present in `google-beta` will be marked as
25
-
such in the shared provider documentation.
22
+
You may see beta features referenced as Preview since Google simplified the [product launch stages](https://cloud.google.com/blog/products/gcp/google-cloud-gets-simplified-product-launch-stages) in late 2020.
26
23
27
-
`1.X` series releases of the `google` provider supported beta features; from
28
-
`2.0.0` onwards, beta features are only supported in `google-beta`.
24
+
The `google-beta` provider is distinct from the `google` provider in that it
25
+
supports GCP products and features that are in Preview, while `google` does not.
26
+
Fields and resources that are only present in `google-beta` are clearly marked in the provider documentation.
29
27
30
-
Beta GCP features have no deprecation policy and no SLA, but are otherwise considered to be feature-complete
31
-
with only minor outstanding issues after their Alpha period. Beta is when GCP
32
-
features are publicly announced, and is when they generally become publicly
33
-
available. For more information see [the official documentation on GCP launch stages](https://cloud.google.com/terms/launch-stages).
28
+
Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. For more information, see the [launch stage descriptions](https://cloud.google.com/products#product-launch-stages).
34
29
35
30
The `google-beta` provider sends all requests to the beta endpoint for GCP if
36
31
one exists for that product, regardless of whether the request contains any beta
@@ -39,7 +34,7 @@ features.
39
34
-> In short, using `google-beta` over `google` is similar to using `gcloud beta`
40
35
over `gcloud`. Features that are exclusively available in `google-beta` are GCP
41
36
features that are not yet GA, and they will be made available in `google` after
42
-
their GA launch.
37
+
they go to GA.
43
38
44
39
## Using the `google-beta` provider
45
40
@@ -58,7 +53,6 @@ provider block, which accepts the same arguments as the `google` provider block.
58
53
59
54
```hcl
60
55
provider "google-beta" {
61
-
credentials = "${file("account.json")}"
62
56
project = "my-project-id"
63
57
region = "us-central1"
64
58
}
@@ -93,13 +87,11 @@ You can define parallel provider blocks - they will not interfere with each othe
93
87
94
88
```hcl
95
89
provider "google" {
96
-
credentials = "${file("account.json")}"
97
90
project = "my-project-id"
98
91
region = "us-central1"
99
92
}
100
93
101
94
provider "google-beta" {
102
-
credentials = "${file("account.json")}"
103
95
project = "my-project-id"
104
96
region = "us-central1"
105
97
}
@@ -126,4 +118,4 @@ To go from beta to GA, do the reverse. If you were previously using beta fields
126
118
1. (Optional) Explicitly set the fields back to their default values in your Terraform config file, and run `terraform apply`.
127
119
1. Change the `provider` field to `"google"`.
128
120
1. Remove any beta fields from your Terraform config.
129
-
1. Run `terraform plan` or `terraform refresh`+`terraform show` to see that the beta fields are no longer in state.
121
+
1. Run `terraform plan` or `terraform refresh`+`terraform show` to see that the beta fields are no longer in state.
0 commit comments