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 aws.eks.nodegroup resource (on aws.eks.cluster) #4031

Merged
merged 5 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ mgroup
Mpim
natgateway
networkinterface
nodegroup
nodepool
nullgroup
nullstring
Expand Down
32 changes: 32 additions & 0 deletions providers/aws/resources/aws.lr
Original file line number Diff line number Diff line change
Expand Up @@ -2988,6 +2988,36 @@ aws.eks {
clusters() []aws.eks.cluster
}

// Amazon EKS managed node group
private aws.eks.nodegroup @defaults("name scalingConfig.DesiredSize diskSize status") {
// Name for the EKS node group
name string
// ARN for the EKS node group
arn() string
// Region for the EKS node group
region string
// Time when the EKS node group was created
createdAt() time
// Status for the EKS node group
status() string
// Capacity type for the EKS node group (ON_DEMAND, SPOT)
capacityType() string
// Scaling configuration for the EKS node group
scalingConfig() dict
// Instance types for the EKS node group
instanceTypes() []string
// AMI type for the EKS node group
amiType() string
// IAM role for the EKS node group
nodeRole() aws.iam.role
// Disk size for the EKS node group
diskSize() int
// Kubernetes labels applied to the EKS node group
labels() map[string]string
// Tags for the EKS node group
tags() map[string]string
}

// Amazon EKS cluster
private aws.eks.cluster @defaults("arn version status") {
// Name of the cluster
Expand Down Expand Up @@ -3016,4 +3046,6 @@ private aws.eks.cluster @defaults("arn version status") {
resourcesVpcConfig dict
// Cluster creation timestamp
createdAt time
// List of EKS node groups
nodeGroups() []aws.eks.nodegroup
}
264 changes: 264 additions & 0 deletions providers/aws/resources/aws.lr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading