gorgeous-angle-43463
07/29/2022, 3:21 PMpulumi_tls
package? Something similar to when using openssl req -new -newkey rsa:2048 -sha256 -keyout >(cat -) -passout "pass:${password}" -subj "/"
.calm-kitchen-4682
07/29/2022, 4:08 PMpulumi preview
on a brand new M1 Macbook which is configured (aside for maybe versions of tools) similarly to another machine on which everything works fine:
File "/Users/[REDACTED]/venv/lib/python3.9/site-packages/google/protobuf/descriptor.py", line 560, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: <https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates>
Using pulumi version 3.37.1 and python 3.9.13
On another box I'm using same python version and pulumi 3.34.1 and I do not encounter this issue.
Any ideas if this could be pulumi version or could come from something else?billowy-army-68599
07/29/2022, 5:00 PMfull-motherboard-20213
07/29/2022, 9:05 PMAWS::Serverless::Api
from cloudformation
into a python pulumi project? It's just a apigateway
?, doc in https://www.pulumi.com/docs/guides/crosswalk/aws/api-gateway/sparse-intern-71089
07/29/2022, 11:26 PMfuture-window-78560
07/30/2022, 1:07 PMIAM2 = gcp.projects.IAMBinding("IAM2",
members=[members[1]],
project="myid",
role="roles/owner")
prehistoric-sandwich-7272
07/30/2022, 5:54 PMektctl
command:
eksctl create iamidentitymapping
Basically I am trying to add via code - KarpenterInstanceNodeRole
to aws-auth config map
another way to do it is to just to edit it manually via the command:
kubectl edit configmap aws-auth -n kube-system
dazzling-spring-78843
07/30/2022, 7:57 PMadamant-portugal-44732
07/31/2022, 2:37 PMfuture-window-78560
07/31/2022, 3:54 PMdataproccluster = gcp.dataproc.Cluster(dataproc_name,
name=dataproc_name,
region="us-central1",
cluster_config=gcp.dataproc.ClusterClusterConfigArgs(
master_config=gcp.dataproc.ClusterClusterConfigMasterConfigArgs(
num_instances=mastercofig_num_instances,
#machine_type="e2-medium",
machine_type=dataproc_machinetype,
disk_config=gcp.dataproc.ClusterClusterConfigMasterConfigDiskConfigArgs(
boot_disk_type=dataproc_bootdisk_type,
boot_disk_size_gb=dataproc_boot_disk_size_gb,
)
),
worker_config=gcp.dataproc.ClusterClusterConfigWorkerConfigArgs(
num_instances=workerconfig_num_instances,
machine_type=worker_config_machinetype,
disk_config=gcp.dataproc.ClusterClusterConfigWorkerConfigDiskConfigArgs(
boot_disk_size_gb=dataproc_boot_disk_size_gb,
boot_disk_type=workerconfig_dataproc_disktype,
)
)) )
worried-helmet-23171
07/31/2022, 9:08 PMworried-helmet-23171
07/31/2022, 9:09 PMfancy-spoon-7206
08/01/2022, 3:37 AM➜ resources (main) ✗ go test
# <http://github.com/pulumi/pulumi/pkg/v3/resource/deploy|github.com/pulumi/pulumi/pkg/v3/resource/deploy>
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/plan.go:137:21: undefined: resource.Alias
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/plan.go:205:53: undefined: resource.Alias
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/plan.go:207:23: undefined: resource.Alias
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/plan.go:212:23: undefined: resource.Alias
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/plan.go:321:29: undefined: resource.Alias
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/plan.go:323:38: undefined: resource.Alias
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/step_generator.go:339:81: undefined: resource.Alias
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/source_eval.go:986:24: undefined: resource.Alias
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/source_eval.go:987:31: req.GetUrnAliases undefined (type *pulumirpc.RegisterResourceRequest has no field or method GetUrnAliases)
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/source_eval.go:988:38: undefined: resource.Alias
../../../../../../go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.35.1/resource/deploy/source_eval.go:988:38: too many errors
FAIL <http://github.com/aetion/aep-base-infra/internal/resources|github.com/aetion/aep-base-infra/internal/resources> [build failed]
rough-dinner-7791
08/01/2022, 9:05 AMgreat-sunset-355
08/01/2022, 9:33 AMdestroy
actions before everything else?curved-appointment-51749
08/01/2022, 10:45 AMflat-appointment-12338
08/01/2022, 3:05 PMdocker image ls
but the tag is not pushed to ECR. I am using buildAndPushImage
and I don't think I see any options related to this. Any ideas what I am doing wrong?future-refrigerator-88869
08/01/2022, 3:24 PMfreezing-window-60195
08/01/2022, 5:29 PMshy-hydrogen-95871
08/01/2022, 6:33 PMbrief-baker-41837
08/01/2022, 8:45 PM* multiple EC2 Subnets matched; use additional constraints to reduce matches to a single EC2 Subnet
I cant seem to figure out the cause specially when this is occurring in preview itself. Please help.
vpc = awsx.ec2.Vpc("pulumi-test",cidr_block='10.2.0.0/16',subnet_specs=[
awsx.ec2.SubnetSpecArgs(
type=awsx.ec2.SubnetType.PRIVATE,
cidr_mask=26,
),
awsx.ec2.SubnetSpecArgs(
type=awsx.ec2.SubnetType.PUBLIC,
cidr_mask=26,
)
], number_of_availability_zones=1)
subnet = aws.ec2.get_subnet(id=vpc.private_subnet_ids[0])
fierce-ability-58936
08/02/2022, 1:09 AMPulumi.yaml.append
in templates. Only that it gets appended to Pulumi.yaml
and used to be called Main.yaml
. Why? Does anyone know?broad-parrot-78298
08/02/2022, 2:32 PMfresh-librarian-41835
08/02/2022, 5:01 PMpulumi refresh
? I am trying to refresh some objects in the stack state (Which takes about 7 mins to run) and pulumi CLI indicates it updated the resources but the File in the S3 backend is not updated. Rerunning pulumi refresh
shows it wants to perform the same updates. Tried this on 2 different Macbooks (Intel and M1)fancy-shoe-18611
08/02/2022, 6:13 PMpulumi/actions@v3
and am getting an error no resource plugin 'pulumi-resource-aws' found in the workspace at v5.4.0 or on your $PATH, install the pluging using 'pulumi plugin install resource aws v5.4.0
I am able to resolve this locally but dont yet know how to get the plugin installed in the actionfuture-window-78560
08/03/2022, 3:58 AMgcloud compute resource-policies create instance-schedule
SCHEDULE_NAME
\ [--description='
SCHEDULE_DESCRIPTION
'] \ [--region=
REGION
] \ [--vm-start-schedule='
START-OPERATION_SCHEDULE
'] \ [--vm-stop-schedule='
STOP-OPERATION_SCHEDULE
'] \ [--timezone=
TIME_ZONE
] \ [--initiation-date=
INITIATION_DATE
] \ [--end-date=
END_DATE
]rich-agency-75207
08/03/2022, 8:01 AMrich-agency-75207
08/03/2022, 8:01 AMbig-psychiatrist-43588
08/03/2022, 9:11 AMstocky-petabyte-29883
08/03/2022, 10:04 AMstocky-petabyte-29883
08/03/2022, 10:04 AMlittle-cartoon-10569
08/03/2022, 8:21 PM