sparse-intern-71089
08/03/2021, 5:22 PMdelightful-gigabyte-39334
08/03/2021, 5:23 PMcluster = eks.Cluster('my-cluster',
eks.ClusterArgs(
vpc_id = "vpc-0f18104098f81c610",
public_subnet_ids = [
"subnet-047e0e4a31e9ad1f3",
"subnet-08fb41482eaf6b690",
"subnet-0769814376c6eac88"
],
private_subnet_ids = [
"subnet-00c8bf8280586a2d0",
"subnet-066a7fc8922344ce1",
"subnet-094a9d174e8645de8"
],
skip_default_node_group = True,
instance_roles = [ role1, role2 ],
)
)
# Now create multiple node groups, each using a different instance profile for each role.
# First, create a node group for fixed compute.
fixed_node_group = eks.NodeGroup('my-cluster-ng1',
cluster = cluster.core,
instance_type = 't2.medium',
desired_capacity = 2,
min_size = 1,
max_size = 3,
labels = {'ondemand': 'true'},
instance_profile = instance_profile_1,
opts = pulumi.ResourceOptions(
parent = cluster,
providers = {
'kubernetes': cluster.provider,
}
)
)
delightful-gigabyte-39334
08/03/2021, 5:23 PMbillowy-army-68599
billowy-army-68599
delightful-gigabyte-39334
08/03/2021, 5:46 PMdelightful-gigabyte-39334
08/03/2021, 5:58 PMdelightful-gigabyte-39334
08/03/2021, 5:59 PMbillowy-army-68599
billowy-army-68599
delightful-gigabyte-39334
08/03/2021, 6:05 PMdelightful-gigabyte-39334
08/03/2021, 6:05 PMbillowy-army-68599
billowy-army-68599
cluster = cluster.core
to
cluster = cluster
delightful-gigabyte-39334
08/03/2021, 6:13 PMaws:ec2:SecurityGroupRule (my-cluster-ng1-eksClusterIngressRule):
error: aws:ec2/securityGroupRule:SecurityGroupRule resource 'my-cluster-ng1-eksClusterIngressRule' has a problem: Missing required argument: The argument "security_group_id" is required, but no definition was found.. Examine values at 'SecurityGroupRule.SecurityGroupId'.
pulumi:pulumi:Stack (eks-test-dev):
error: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "/Users/dhuynhadxnet.com/Documents/Projects/infrastracture/eks-test/venv/lib/python3.9/site-packages/pulumi/runtime/resource.py", line 519, in do_rpc_call
return monitor.RegisterResource(req)
File "/Users/dhuynhadxnet.com/Documents/Projects/infrastracture/eks-test/venv/lib/python3.9/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/Users/dhuynhadxnet.com/Documents/Projects/infrastracture/eks-test/venv/lib/python3.9/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "invocation of aws:ssm/getParameter:getParameter returned an error: transport is closing"
debug_error_string = "{"created":"@1628014357.219134000","description":"Error received from peer ipv4:127.0.0.1:57666","file":"src/core/lib/surface/call.cc","file_line":1070,"grpc_message":"invocation of aws:ssm/getParameter:getParameter returned an error: transport is closing","grpc_status":2}"
>
billowy-army-68599
delightful-gigabyte-39334
08/03/2021, 6:55 PM