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

refactor(schemautil): global default timeout minutes #1098

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

Serpentiel
Copy link
Contributor

About this change—what it does

makes it possible to change the default timeout of the provider's resources on compile time via -ldflags "-X github.com/aiven/terraform-provider-aiven/internal/schemautil.DefaultTimeoutMinutes=30"

resolves #1054

Why this way

to allow to change timeouts values outside of Terraform protocol during compile time

@Serpentiel Serpentiel added go Pull requests that update Go code no changelog No changelog entries are required for this PR labels Mar 17, 2023
@Serpentiel Serpentiel requested a review from a team March 17, 2023 08:05
@Serpentiel Serpentiel force-pushed the aleks-refactor-global-default-timeout-minutes branch from 0716265 to 2827350 Compare March 17, 2023 08:11
Copy link
Contributor

@ivan-savciuc ivan-savciuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ivan-savciuc ivan-savciuc merged commit 0da3bb3 into main Mar 17, 2023
@ivan-savciuc ivan-savciuc deleted the aleks-refactor-global-default-timeout-minutes branch March 17, 2023 08:56
@Serpentiel Serpentiel assigned ivan-savciuc and unassigned byashimov Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code no changelog No changelog entries are required for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error creating resources: unable to wait for service state change: context deadline exceeded
3 participants