Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Add deadLetterPolicy to Pub/Sub Subscription resource #372

Conversation

modular-magician
Copy link
Owner

Support dead_letter_policy as specified in https://pubsub.googleapis.com/$discovery/rest?version=v1

I've tested changes by applying dead_letter_policy with locally build terraform provider following instructions in README.

Release Note Template for Downstream PRs (will be copied)

pubsub: Added `dead_letter_policy` support to `google_pubsub_subscription`

Fixes hashicorp/terraform-provider-google#5522

Derived from GoogleCloudPlatform/magic-modules#3305

* Add deadLetterPolicy to Pub/Sub subscription resource

* fix: disable allow_empty_objects, fix docstring, add example

* fix: set max_delivery_attempts

* fix: block and topic name

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 38a3abd into master Mar 30, 2020
slevenick pushed a commit that referenced this pull request Apr 13, 2020
* Add deadLetterPolicy to Pub/Sub subscription resource

* fix: disable allow_empty_objects, fix docstring, add example

* fix: set max_delivery_attempts

* fix: block and topic name

Signed-off-by: Modular Magician <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add dead letter policy to pubsub
1 participant