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

pc: Fix version of Azure Terraform provider for NFS test #17770

Closed
wants to merge 0 commits into from

Conversation

ricardobranco777
Copy link
Contributor

@ricardobranco777 ricardobranco777 commented Sep 14, 2023

The NFS test uses the latest Azure Terraform provider. This PR makes it use the same version that we use for the other tests.

@grisu48
Copy link
Contributor

grisu48 commented Sep 14, 2023

@@ -1,7 +1,7 @@
terraform {
required_providers {
azurerm = {
version = ">= 3.2.0"
version = "= 3.2.0"
Copy link
Member

Choose a reason for hiding this comment

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

I am not sure what was your intention . this change basically downgrade azurerm to version 3.2.0 . I don't think that it is good idea . Currently failed run was using 3.72 latest passed was on 3.70 so as hotfix we may rollback to THAT version

Copy link
Member

Choose a reason for hiding this comment

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

as long term we need to find what was changed in latest version of plugin and probably update config to new format

Copy link
Member

Choose a reason for hiding this comment

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

Is there "new format"? And is there even any significant change in the provider affecting us?
Or can we just upgrade, test it, maybe do major tweak of our existing files and be done with it?

Copy link
Member

Choose a reason for hiding this comment

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

I can not answer this questions without running test run . this is why we have version of provider locked here because from time terraform providers changing their format so our old profiles will start to fail . We have two options here :

  1. remove this artificial limitation and learn about this changes from mass failures of all Azure related tests . So we will need to firefight the issue in urgent mode .
  2. Keep version locked and do from time to time "upgrade cycles" which includes test runs on the latest provider version

I am prefer second option

Copy link
Member

Choose a reason for hiding this comment

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

Yes, me too. We chose the second option.
I just wanted to say that we should not explicitly see upgrading as problem.
We should upgrade and do some verification runs before merging so we're sure.

@pdostal
Copy link
Member

pdostal commented Sep 20, 2023

Go to #17782

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants