Closed lukehoban closed 1 year ago
:tropical_drink: The Update for moolumi/k8s-ci-cluster/08fc4f0485a0d81299d8a2f3daa978f8aae4d043-1477 was successful.
Name Type Operation
+ k8s-ci-cluster-08fc4f0485a0d81299d8a2f3daa978f8aae4d043-1477 pulumi:pulumi:Stack create
+ multicloud pulumi-kubernetes:ci:GkeCluster create
+ password random:index/randomPassword:RandomPassword create
+ ephemeral-ci-cluster gcp:container/cluster:Cluster create
+ primary-node-pool gcp:container/nodePool:NodePool create
+ gke pulumi:providers:kubernetes create
:tropical_drink: The Destroy for moolumi/k8s-ci-cluster/08fc4f0485a0d81299d8a2f3daa978f8aae4d043-1477 was successful.
Name Type Operation
- gke pulumi:providers:kubernetes delete
- primary-node-pool gcp:container/nodePool:NodePool delete
- ephemeral-ci-cluster gcp:container/cluster:Cluster delete
- password random:index/randomPassword:RandomPassword delete
:tropical_drink: The Update for moolumi/k8s-ci-cluster/43f0659e0d4447e8bfd48ffc05b34d0c14f96715-1478 was successful.
Name Type Operation
+ gke pulumi:providers:kubernetes create
+ k8s-ci-cluster-43f0659e0d4447e8bfd48ffc05b34d0c14f96715-1478 pulumi:pulumi:Stack create
+ multicloud pulumi-kubernetes:ci:GkeCluster create
+ password random:index/randomPassword:RandomPassword create
+ ephemeral-ci-cluster gcp:container/cluster:Cluster create
+ primary-node-pool gcp:container/nodePool:NodePool create
:tropical_drink: The Destroy for moolumi/k8s-ci-cluster/43f0659e0d4447e8bfd48ffc05b34d0c14f96715-1478 was successful.
Name Type Operation
- gke pulumi:providers:kubernetes delete
- primary-node-pool gcp:container/nodePool:NodePool delete
- ephemeral-ci-cluster gcp:container/cluster:Cluster delete
- password random:index/randomPassword:RandomPassword delete
Amazing, just sharing my experimentations with this: Notes:
What I've learned about making @edge lambdas, since I couldn't find anything on Pulumi docs, to deploy a lambda to edge the steps are:
ie: just deploy everything to us-east-1, or pass the provider only to the edge lambda (didn't try)
const useast1 = new aws.Provider('useast1', { region: 'us-east-1' });
const site = new NextJsSite(_prefixWithAppName('mysite'),
{ path: '../' },
{ provider: useast1 },
);
... Service: ['edgelambda.amazonaws.com', 'lambda.amazonaws.com'] ...
x86_64
Looks kind of simple to support edge deployments, the terraform example I've seen does it based on a flag using different settings based on it.
I've looked at https://github.com/RJPearson94/terraform-aws-open-next for context lambda main
:tropical_drink: The Update for moolumi/k8s-ci-cluster/dbc40baa9960aec6f6421b4eb160c9a19548c533-1498 was successful.
Name Type Operation
+ gke pulumi:providers:kubernetes create
+ k8s-ci-cluster-dbc40baa9960aec6f6421b4eb160c9a19548c533-1498 pulumi:pulumi:Stack create
+ multicloud pulumi-kubernetes:ci:GkeCluster create
+ password random:index/randomPassword:RandomPassword create
+ ephemeral-ci-cluster gcp:container/cluster:Cluster create
+ primary-node-pool gcp:container/nodePool:NodePool create
:tropical_drink: The Destroy for moolumi/k8s-ci-cluster/dbc40baa9960aec6f6421b4eb160c9a19548c533-1498 was successful.
Name Type Operation
- ephemeral-ci-cluster gcp:container/cluster:Cluster delete
- password random:index/randomPassword:RandomPassword delete
- gke pulumi:providers:kubernetes delete
- primary-node-pool gcp:container/nodePool:NodePool delete
Test failures are unrelated, so I'll go ahead and merge this. Thanks @lukehoban!
@filipef101 Excellent feedback, thanks for taking the time! I'll file a follow-up issue so these suggestions don't get lost.
Adds an example of deploying a Next.js site with Pulumi, building on top of OpenNext.
Fixes https://github.com/pulumi/examples/issues/779.