Skip to content

Commit 78be210

Browse files
deprecate google_service_account_key.project (#14683) (#10442)
[upstream:eee724a2c99a82422dceaaa2846aa3c33f94585a] Signed-off-by: Modular Magician <[email protected]>
1 parent 92db0dc commit 78be210

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.changelog/14683.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:deprecation
2+
resourcemanager: `project` field in `google_service_account_key` data source has been deprecated. The field is non functional and can safely be removed from your configuration.
3+
```

google-beta/services/resourcemanager/data_source_google_service_account_key.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ func DataSourceGoogleServiceAccountKey() *schema.Resource {
4646
ValidateFunc: validation.StringInSlice([]string{"TYPE_NONE", "TYPE_X509_PEM_FILE", "TYPE_RAW_PUBLIC_KEY"}, false),
4747
},
4848
"project": {
49-
Type: schema.TypeString,
50-
Optional: true,
49+
Type: schema.TypeString,
50+
Optional: true,
51+
Deprecated: "`project` is deprecated and will be removed in a future major release. This field is non-functional and can be removed from your configuration safely.",
5152
},
5253
"key_algorithm": {
5354
Type: schema.TypeString,

0 commit comments

Comments
 (0)