Skip to content

Commit af9c15a

Browse files
mark deprecated for all pub/sub lite resources (#15520) (#11022)
[upstream:8ffd15e942508bde8bb11dfa0630fc4047e6a6f8] Signed-off-by: Modular Magician <[email protected]>
1 parent 495ee1b commit af9c15a

File tree

7 files changed

+20
-0
lines changed

7 files changed

+20
-0
lines changed

.changelog/15520.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
```release-note:deprecation
2+
`pubsublite`: `google_pubsub_lite_subscription` will be turned down effective March 18, 2026. Use `google_pubsub_subscription` instead.
3+
```
4+
5+
```release-note:deprecation
6+
`pubsublite`: `google_pubsub_lite_reservation` will be turned down effective March 18, 2026. Use `google_pubsub_reservation` instead.
7+
```
8+
9+
```release-note:deprecation
10+
`pubsublite`: `google_pubsub_lite_topic` will be turned down effective March 18, 2026. Use `google_pubsub_topic` instead.
11+
```

google-beta/services/pubsublite/resource_pubsub_lite_reservation.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ func ResourcePubsubLiteReservation() *schema.Resource {
107107
tpgresource.DefaultProviderProject,
108108
),
109109

110+
DeprecationMessage: "[Pubsub Lite is deprecated and will be turned down effective March 18, 2026](https://cloud.google.com/pubsub/lite/docs/release-notes#June_17_2024). The resource will be removed in a future major release, please use `google_pubsub_reservation` instead.",
111+
110112
Schema: map[string]*schema.Schema{
111113
"name": {
112114
Type: schema.TypeString,

google-beta/services/pubsublite/resource_pubsub_lite_subscription.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ func ResourcePubsubLiteSubscription() *schema.Resource {
107107
tpgresource.DefaultProviderProject,
108108
),
109109

110+
DeprecationMessage: "[Pubsub Lite is deprecated and will be turned down effective March 18, 2026](https://cloud.google.com/pubsub/lite/docs/release-notes#June_17_2024). The resource will be removed in a future major release, please use `google_pubsub_subscription` instead.",
111+
110112
Schema: map[string]*schema.Schema{
111113
"name": {
112114
Type: schema.TypeString,

google-beta/services/pubsublite/resource_pubsub_lite_topic.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ func ResourcePubsubLiteTopic() *schema.Resource {
107107
tpgresource.DefaultProviderProject,
108108
),
109109

110+
DeprecationMessage: "[Pubsub Lite is deprecated and will be turned down effective March 18, 2026](https://cloud.google.com/pubsub/lite/docs/release-notes#June_17_2024). The resource will be removed in a future major release, please use `google_pubsub_topic` instead.",
111+
110112
Schema: map[string]*schema.Schema{
111113
"name": {
112114
Type: schema.TypeString,

website/docs/r/pubsub_lite_reservation.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ description: |-
2020
---
2121

2222
# google_pubsub_lite_reservation
23+
~> **Warning:** [Pubsub Lite is deprecated and will be turned down effective March 18, 2026](https://cloud.google.com/pubsub/lite/docs/release-notes#June_17_2024). The resource will be removed in a future major release, please use `google_pubsub_reservation` instead.
2324

2425
A named resource representing a shared pool of capacity.
2526

website/docs/r/pubsub_lite_subscription.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ description: |-
2121
---
2222

2323
# google_pubsub_lite_subscription
24+
~> **Warning:** [Pubsub Lite is deprecated and will be turned down effective March 18, 2026](https://cloud.google.com/pubsub/lite/docs/release-notes#June_17_2024). The resource will be removed in a future major release, please use `google_pubsub_subscription` instead.
2425

2526
A named resource representing the stream of messages from a single,
2627
specific topic, to be delivered to the subscribing application.

website/docs/r/pubsub_lite_topic.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ description: |-
2020
---
2121

2222
# google_pubsub_lite_topic
23+
~> **Warning:** [Pubsub Lite is deprecated and will be turned down effective March 18, 2026](https://cloud.google.com/pubsub/lite/docs/release-notes#June_17_2024). The resource will be removed in a future major release, please use `google_pubsub_topic` instead.
2324

2425
A named resource to which messages are sent by publishers.
2526

0 commit comments

Comments
 (0)