Skip to content

Conversation

@trentrosenbaum
Copy link
Collaborator

@trentrosenbaum trentrosenbaum commented Jul 22, 2021

This small PR adjusts the default optional timeout value for the update function. The original default value was set to 10 minutes and has now been updated to 30 mins to align with the create optional default timeout value.

The original expectation was that most database creations would be actioned at the time of the subscription creation, but this is not completely true. The databases are managed through the subscription life and databases can be added or removed later as required. The following issue showed that the update default timeout value can be too short at 10 minutes: #124

Because database creation can happen in the subscription create and update functions then it make sense to keep them aligned.

As mentioned in the following documentation by HashiCorp Optional Timouts not all resource support the optional timeout configuration, but the susbcription resource does support the HCL block. I the default of 30 minutes for either create or update is not enough then it can be adjusted through this method. Existing documentation for the resource also shows this and the PR will update rediscloud_subscription#timeouts to reflect the new default value.

@trentrosenbaum trentrosenbaum requested a review from bengesoff July 22, 2021 13:33
@trentrosenbaum trentrosenbaum merged commit 16bd3b0 into main Jul 22, 2021
@trentrosenbaum trentrosenbaum deleted the increase-subscription-update-default-timeout branch July 22, 2021 14:19
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.

3 participants