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

new: Support tier in LKE resource and data source #1718

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

yec-akamai
Copy link
Contributor

@yec-akamai yec-akamai commented Jan 14, 2025

📝 Description

Support tier for LKE-Enterprise in lke & lkeclusters resource and data sources.

✔️ How to Test

make PKG_NAME=linode/lke int-test
make PKG_NAME=linode/lkeclusters int-test

Manual Test:

  1. In a sandbox environment, make sure you have set up your account correctly to call the API and put the follow script to create a lke cluster with tier:
provider linode {
    api_version = "v4beta"
}

resource "linode_lke_cluster" "test" {
    label       = "test-lke"
    region      = "us-central"
    k8s_version = "1.31"
    tags        = ["test"]
    tier = "standard"

    pool {
        type  = "g6-standard-1"
        count = 3
        tags  = ["test"]
    }
}
  1. plan & apply it. Observe the resource has been created without any issue.
  2. Destroy the resource

@yec-akamai yec-akamai requested a review from a team as a code owner January 14, 2025 20:43
@yec-akamai yec-akamai requested review from zliang-akamai and ykim-akamai and removed request for a team January 14, 2025 20:43
go.mod Outdated Show resolved Hide resolved
@yec-akamai yec-akamai marked this pull request as draft January 14, 2025 21:45
@yec-akamai yec-akamai marked this pull request as ready for review January 16, 2025 15:51
Copy link
Contributor

@ykim-akamai ykim-akamai 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 updating all the tests!

@yec-akamai yec-akamai added the new-feature for new features in the changelog. label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature for new features in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants