Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify the duration format for the Pub/Sub message retention duration #6599

Conversation

modular-magician
Copy link
Collaborator

When passing a string that doesn't end with an s, get the error message

Invalid value at 'topic.message_retention_duration' (type.googleapis.com/google.protobuf.Duration), Field 'messageRetentionDuration', Illegal duration format; duration must end with 's'

Made the wording similar to the KMS key rotation period description.

Release Note Template for Downstream PRs (will be copied)

pubsub: clarified the expected format for the `message_retention_duration`

Derived from GoogleCloudPlatform/magic-modules#9400

…n (#9400)

When passing a string that doesn't end with an `s`, get the error message

> Invalid value at 'topic.message_retention_duration' (type.googleapis.com/google.protobuf.Duration), Field 'messageRetentionDuration', Illegal duration format; duration must end with 's'

Made the wording similar to the [KMS key rotation period](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/kms_crypto_key#rotation_period) description.
[upstream:80ee4d4b7d0529189700b26aabb604e07e19198d]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit c991825 into hashicorp:main Nov 3, 2023
@modular-magician modular-magician deleted the downstream-pr-80ee4d4b7d0529189700b26aabb604e07e19198d branch November 16, 2024 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant