Skip to content

Commit bfd7435

Browse files
Added ingress settings note to cloudrun docs (#4687) (#3151)
Signed-off-by: Modular Magician <[email protected]>
1 parent 6548469 commit bfd7435

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.changelog/4687.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/resource_cloud_run_service.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,12 @@ info: http://kubernetes.io/docs/user-guide/annotations
550550
551551
**Note**: The Cloud Run API may add additional annotations that were not provided in your config.
552552
If terraform plan shows a diff where a server-side annotation is added, you can add it to your config
553-
or apply the lifecycle.ignore_changes rule to the metadata.0.annotations field.`,
553+
or apply the lifecycle.ignore_changes rule to the metadata.0.annotations field.
554+
555+
Cloud Run (fully managed) uses the following annotation keys to configure features on a Service:
556+
557+
- 'run.googleapis.com/ingress' sets the [ingress settings](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--ingress)
558+
for the Service. For example, '"run.googleapis.com/ingress" = "all"'.`,
554559
Elem: &schema.Schema{Type: schema.TypeString},
555560
},
556561
"labels": {

website/docs/r/cloud_run_service.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,9 @@ The `metadata` block supports:
624624
**Note**: The Cloud Run API may add additional annotations that were not provided in your config.
625625
If terraform plan shows a diff where a server-side annotation is added, you can add it to your config
626626
or apply the lifecycle.ignore_changes rule to the metadata.0.annotations field.
627+
Cloud Run (fully managed) uses the following annotation keys to configure features on a Service:
628+
- `run.googleapis.com/ingress` sets the [ingress settings](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--ingress)
629+
for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
627630

628631
## Attributes Reference
629632

0 commit comments

Comments
 (0)