You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered an error stating that an AMI Type other than CUSTOM cannot be specified when providing an image ID. However, no launch template has been set in the configuration.
Error message: InvalidParameterException: You cannot specify an AMI Type other than CUSTOM, when specifying an image id in your launch template
CLI
Version 3.137.0
Go Version go1.23.2
Go Compiler gc
Plugins
KIND NAME VERSION
resource aws 6.45.0
resource awsx 2.13.0
resource eks 3.0.0
resource kubernetes 4.17.1
language nodejs unknown
resource random 4.16.3
Host
OS darwin
Version 15.0.1
Arch arm64
This project is written in nodejs: executable='/opt/homebrew/bin/node' version='v20.18.0'
Backend
Name myhostname
URL s3://mys3bcuket
User myuser
Organizations
Token type personal
Additional context
I encountered this issue - #1779 when using pulumi/eks version 2.7.8. I attempted to update to version 3.0 to resolve it, but then encountered the issue described above
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
Hey @victoroloan, sorry you're running into this issue! I was able to reproduce it and started working on a fix. AWS EKS requires that no ami type is set on the node group itself if an AMI ID is set in the launch template.
Using kubeletExtraArgs requires a custom launch template, because of that the provider creates one. So even though you're not specifying a launch template yourself, one needs to be created.
While I'm working on the fix, you can work around the issue by omitting the amiType and instead specifying the operatingSystem. The Provider will automatically choose the right AMI type in that case.
What happened?
Encountered an error stating that an AMI Type other than CUSTOM cannot be specified when providing an image ID. However, no launch template has been set in the configuration.
Error message:
InvalidParameterException: You cannot specify an AMI Type other than CUSTOM, when specifying an image id in your launch template
Example
Output of
pulumi about
Additional context
I encountered this issue - #1779 when using pulumi/eks version 2.7.8. I attempted to update to version 3.0 to resolve it, but then encountered the issue described above
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: