-
Notifications
You must be signed in to change notification settings - Fork 881
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
Fix aws-java-eks-minimal example #1281
Conversation
ctx.export("defaultVpcId", defaultVpcId); | ||
|
||
// Find all the subnets in the default VPC. | ||
final var allSubnetIds = Ec2Functions.getSubnets(GetSubnetsArgs.builder() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should provision the subnets instead of finding them in the default VPC, to make the example more self-contained.
|
||
// Find all the subnets in the default VPC. | ||
final var allSubnetIds = Ec2Functions.getSubnets(GetSubnetsArgs.builder() | ||
.filters(GetSubnetsFilterArgs.builder() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getSubnetIds returned deprecation warnings. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnets is recommended to be used instead. Its not obvious from the types but this is how it's to be used.
🍹 The Update for stack moolumi/k8s-ci-cluster/f78ad97862337c6ac91403773eaa5769db825b84-757 was successful. Resource Changes Name Type Operation
+ 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
+ k8s-ci-cluster-f78ad97862337c6ac91403773eaa5769db825b84-757 pulumi:pulumi:Stack create
+ multicloud pulumi-kubernetes:ci:GkeCluster create
|
🍹 The Destroy for stack moolumi/k8s-ci-cluster/f78ad97862337c6ac91403773eaa5769db825b84-757 was successful. Resource Changes Name Type Operation
- gke pulumi:providers:kubernetes delete
- primary-node-pool gcp:container/nodePool:NodePool delete
- password random:index/randomPassword:RandomPassword delete
- ephemeral-ci-cluster gcp:container/cluster:Cluster delete
|
Closing as stale. |
No description provided.