https://pulumi.com logo
Title
g

gorgeous-architect-28903

03/09/2023, 12:14 PM
Anyone seen this when creating a GKE Node Pool?
Cannot specify both name and name_prefix for a node_pool
— I’m definitely not setting a name. It happens even if I set
Name
to
nil
explicitly.
v

victorious-florist-84818

03/14/2023, 9:39 AM
Which provider are you using? Classic (terraform) or native?
g

gorgeous-architect-28903

03/14/2023, 9:40 AM
Classic
Looked into native but it doesn’t seem to support the prefix at all
v

victorious-florist-84818

03/14/2023, 9:45 AM
Disclaimer: I haven't used Pulumi to create a GKE Node pool, but if it helps I could help a bit with the troubleshooting steps 😄 • Is there any default being set by the pulumi resources you're using? (what I encountered in GKE terraform modules is that a default node_pool is being created, not sure if this applies in your scenario as well) • When using preview, are both the name and the name_prefix being displayed? or the error happens during the planning? • Have you checked the structure to ensure that you're properly overriding the value?