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 standard upgrade support from extended for EKS cluster upgradePolicy.supportType #2

Open
obriensystems opened this issue Oct 30, 2024 · 2 comments
Assignees

Comments

@obriensystems
Copy link
Member

obriensystems commented Oct 30, 2024

Screenshot 2024-10-29 at 23 03 57

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_cluster#upgrade_policy
hashicorp/terraform-provider-aws#38510

in provider
https://github.com/hashicorp/terraform-provider-aws/blob/v5.61.0/CHANGELOG.md
https://developer.hashicorp.com/terraform/language/providers/configuration#provider-versions

out of band upgradePolicy

https://docs.aws.amazon.com/eks/latest/userguide/view-upgrade-policy.html

michaelobrien@mbp7 modules % aws eks describe-cluster --name prod --query "cluster.upgradePolicy.supportType" --region us-east-1
"STANDARD"
michaelobrien@mbp7 modules % aws eks describe-cluster --name example-eks-cluster --query "cluster.upgradePolicy.supportType" --region us-east-1
"EXTENDED"
@obriensystems obriensystems self-assigned this Oct 30, 2024
@obriensystems
Copy link
Member Author

michaelobrien@mbp7 modules % terraform plan                 
╷
│ Error: Inconsistent dependency lock file
│ 
│ The following dependency selections recorded in the lock file are inconsistent with the current configuration:
│   - provider registry.terraform.io/hashicorp/aws: locked version selection 4.67.0 doesn't match the updated version constraints "~> 5.61"
│ 
│ To update the locked dependency selections to match a changed configuration, run:
│   terraform init -upgrade
╵
michaelobrien@mbp7 modules % terraform init -upgrade
Initializing the backend...
Initializing provider plugins...
- Finding hashicorp/aws versions matching "~> 5.61"...
- Installing hashicorp/aws v5.73.0...
- Installed hashicorp/aws v5.73.0 (signed by HashiCorp)

@obriensystems obriensystems changed the title add standard upgrade support from extended add standard upgrade support from extended for EKS cluster upgradePolicy Oct 30, 2024
@obriensystems obriensystems changed the title add standard upgrade support from extended for EKS cluster upgradePolicy add standard upgrade support from extended for EKS cluster upgradePolicy.supportType Oct 30, 2024
@obriensystems
Copy link
Member Author

https://docs.aws.amazon.com/eks/latest/userguide/disable-extended-support.html

michaelobrien@mbp7 modules % aws eks update-cluster-config --name example-eks-cluster --upgrade-policy supportType=STANDARD --region us-east-1
{
    "update": {
        "id": "7ed67c07-a623-3279-966a-3da15f4e02fa",
        "status": "Successful",
        "type": "UpgradePolicyUpdate",
        "params": [
            {
                "type": "UpgradePolicy",
                "value": "{\"supportType\":\"STANDARD\"}"
            }
        ],
        "createdAt": "2024-10-30T12:11:09.340000-04:00",
        "errors": []
    }
}

michaelobrien@mbp7 modules % aws eks describe-cluster --name example-eks-cluster --query "cluster.upgradePolicy.supportType" --region us-east-1
"STANDARD"

obriensystems added a commit that referenced this issue Nov 5, 2024
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

No branches or pull requests

1 participant