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

Add os_disk_type to kubernetes_cluster_node_pool #9166

Merged
merged 10 commits into from
Nov 18, 2020
Merged

Add os_disk_type to kubernetes_cluster_node_pool #9166

merged 10 commits into from
Nov 18, 2020

Conversation

favoretti
Copy link
Collaborator

Fixes #8657

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

hey @favoretti

Thanks for this PR :)

Taking a look through this is looking good - if we can fix up the other minor comments then this otherwise LGTM 👍

Thanks!

@favoretti
Copy link
Collaborator Author

Running acceptance tests locally now.

@favoretti
Copy link
Collaborator Author

$ TF_ACC=1 go test -v ./azurerm/internal/services/containers/tests/ -timeout=1000m -run TestAccAzureRMKubernetesClusterNodePool_osDiskType
=== RUN   TestAccAzureRMKubernetesClusterNodePool_osDiskType
=== PAUSE TestAccAzureRMKubernetesClusterNodePool_osDiskType
=== CONT  TestAccAzureRMKubernetesClusterNodePool_osDiskType
--- PASS: TestAccAzureRMKubernetesClusterNodePool_osDiskType (951.34s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/containers/tests	952.503s

@tombuildsstuff tombuildsstuff modified the milestones: v2.36.0, v2.37.0 Nov 12, 2020
@NillsF
Copy link
Contributor

NillsF commented Nov 16, 2020

@favoretti : Thank you for submitting this PR.
@tombuildsstuff: Will this get merged prior to Nov 19 to ensure it gets included in the next release?

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for pushing those changes @favoretti

@tombuildsstuff
Copy link
Contributor

Tests look good 👍

@tombuildsstuff tombuildsstuff merged commit 7234a12 into hashicorp:master Nov 18, 2020
tombuildsstuff added a commit that referenced this pull request Nov 18, 2020
@ghost
Copy link

ghost commented Nov 20, 2020

This has been released in version 2.37.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.37.0"
}
# ... other configuration ...

@favoretti favoretti deleted the favoretti/aks_nodepool_disk_type branch November 20, 2020 02:05
@djsly
Copy link
Contributor

djsly commented Nov 26, 2020

FYI, this forces a rebuild for old cluster, unless users reimports / hack their state file with oDiskType: Managed

@favoretti
Copy link
Collaborator Author

favoretti commented Nov 26, 2020 via email

@djsly
Copy link
Contributor

djsly commented Nov 27, 2020

had this on our tfplan:
+ os_disk_type = "Managed" # forces replacement
After modifying the state file and adding "os_disk_type": "Managed", it no longer detects any change

@ghost
Copy link

ghost commented Dec 18, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aks: support for ephemeral disks on default & custom node pools
4 participants