pulumi-gcp: Unable to create regional cluster
@pulumi/gcp@0.18.2
export const k8sCluster = new gcp.container.Cluster('gke-cluster', {
initialNodeCount: 1,
nodeVersion: 'latest',
minMasterVersion: 'latest',
nodeConfig: {
machineType: 'n1-standard-1',
oauthScopes: [
'https://www.googleapis.com/auth/compute',
'https://www.googleapis.com/auth/devstorage.read_only',
'https://www.googleapis.com/auth/logging.write',
'https://www.googleapis.com/auth/monitoring',
],
},
// regional cluster
location: 'us-central1',
nodeLocations: ['us-central1-f', 'us-central1-b'],
})
gcp:container:Cluster (gke-cluster):
error: gcp:container/cluster:Cluster resource 'gke-cluster' has a problem: : invalid or unknown key: location
error: gcp:container/cluster:Cluster resource 'gke-cluster' has a problem: : invalid or unknown key: node_locations
This should be possible based on #119
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (5 by maintainers)
Reopening because I am unable to workaround the plugin versioning.
After a rebuild with initial yarn, the plugins are confirmed good:
Then I ran
pulumi upon a stack with the following dependencies:I then notice that
pulumi upinstalled the older gcp@0.18.0 plugin:With the result:
What is bizarre is this originally worked briefly (a few hours), then stopped working. Now I cannot use the code written for the regional cluster even after clearing plugins/rebuilding node_modules.