famous-rain-47417
09/01/2021, 12:14 PMfamous-rain-47417
09/01/2021, 12:14 PMmodern-belgium-42936
09/01/2021, 12:25 PMancient-night-64850
09/01/2021, 2:48 PMancient-night-64850
09/01/2021, 5:54 PMproud-pizza-80589
09/02/2021, 6:42 AMnumerous-teacher-98063
09/02/2021, 1:16 PMbumpy-grass-54508
09/02/2021, 4:11 PMcidrhost
?
https://www.terraform.io/docs/language/functions/cidrhost.htmlbumpy-summer-9075
09/02/2021, 4:28 PMdocker.Image
with digitalocean.ContainerRegistry
? The only credentials that registry provides is in docker's format, not username/password :/breezy-piano-61073
09/02/2021, 6:32 PMpurple-train-14007
09/02/2021, 7:28 PMpurple-train-14007
09/02/2021, 7:29 PMpurple-train-14007
09/02/2021, 7:30 PMfuture-refrigerator-88869
09/02/2021, 8:32 PMaws load balancer controller
,create the IngressClass
and create the ingress itself using k8s.networking.v1.Ingress
. Everything works fine, the load balancer is created, traffic is getting to the instance.
However, when I try to expose the ingress URL as a pulumi output, it seems that pulumi doesn't know that it has to wait for the load balancer to be created and it seems like it finishes execution before having access to that load balancer. This is how I am trying to expose it and still doesn't work. The value is empty when exposing it. Anyone has any ideas here ?
export const ingressUrl = ingress.status.apply(
(status) => status.loadBalancer.ingress[0].hostname
);
calm-quill-21760
09/02/2021, 8:49 PMuserDataOverride
. Am I missing something?breezy-piano-61073
09/02/2021, 9:50 PMalert_policy=newrelic.AlertPolicy("DAI-SHARED-DEV-OPERATIONS-WORKFLOW-CREATED",
incident_preference="PER_POLICY",
name="DAI-SHARED-DEV-OPERATIONS-WORKFLOW-CREATED")
print("alert_policy.id=" + alert_policy.id)
anyone have any idea why this code snippit gives the following error?
TypeError: can only concatenate str (not "Output") to str
error: an unhandled error occurred: Program exited with non-zero exit code: 1
The AlertPolicy is created, but I cannot access the alert_policy.id in python.modern-belgium-42936
09/02/2021, 11:04 PMpulumi import aws:ec2/instance:Instance github-runner-1 <instance-id>
I am met with the error:
Previewing import (dev)
View Live: <https://app.pulumi.com/lwooden/github-runners/dev/previews/d953777e-c02b-4d34-8718-8382479da9e1>
Type Name Plan Info
+ pulumi:pulumi:Stack github-runners-dev create 1 error
= └─ aws:ec2:Instance github-runner-1 import 4 errors
Diagnostics:
pulumi:pulumi:Stack (github-runners-dev):
error: preview failed
aws:ec2:Instance (github-runner-1):
error: aws:ec2/instance:Instance resource 'github-runner-1' has a problem: AtLeastOne: "launch_template": one of `ami,instance_type,launch_template` must be specified. Examine values at 'Instance.LaunchTemplate'.
error: aws:ec2/instance:Instance resource 'github-runner-1' has a problem: AtLeastOne: "ami": one of `ami,launch_template` must be specified. Examine values at 'Instance.Ami'.
error: aws:ec2/instance:Instance resource 'github-runner-1' has a problem: AtLeastOne: "instance_type": one of `instance_type,launch_template` must be specified. Examine values at 'Instance.InstanceType'.
error: Preview failed: one or more inputs failed to validate
Doing a describe instance via the aws cli clearly shows that all of the above fields (ami, instance_type, etc) exists for this resources so I am at a lost as to why pulumi is having issue picking them up 😞
Any pointers would be great. I've exhausted the documentation and have spent hours on thisgreen-london-75893
09/03/2021, 7:17 AMgreen-london-75893
09/03/2021, 7:18 AMgreen-london-75893
09/03/2021, 7:21 AMtencentcloudstack/terraform-provider-tencentcloud
to pulumi according to the documentation, but I got an error in the build phase, can't find what the problem is and don't know how to deal with it.
https://github.com/tencentcloudstack/terraform-provider-tencentcloudgreen-london-75893
09/03/2021, 7:22 AM➜ pulumi-tencentcloud git:(master) ✗ make build_sdks
[ -x /Users/arron/works/tools/homebrew/bin/pulumi ] || curl -fsSL <https://get.pulumi.com> | sh
pulumi plugin install resource random 2.2.0
(cd provider && go build -a -o /Users/arron/works/codes/go/src/github.com/pulumi/pulumi-tencentcloud/bin/pulumi-tfgen-tencentcloud -ldflags "-X <http://github.com/pulumi/pulumi-tencentcloud/provider/pkg/version.Version=0.0.1-alpha.1623235147+2e15515f.dirty|github.com/pulumi/pulumi-tencentcloud/provider/pkg/version.Version=0.0.1-alpha.1623235147+2e15515f.dirty>" <http://github.com/pulumi/pulumi-tencentcloud/provider/cmd/pulumi-tfgen-tencentcloud)|github.com/pulumi/pulumi-tencentcloud/provider/cmd/pulumi-tfgen-tencentcloud)>
resources.go:24:2: missing go.sum entry for module providing package <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge> (imported by <http://github.com/pulumi/pulumi-tencentcloud/provider|github.com/pulumi/pulumi-tencentcloud/provider>); to add:
go get <http://github.com/pulumi/pulumi-tencentcloud/provider|github.com/pulumi/pulumi-tencentcloud/provider>
cmd/pulumi-tfgen-tencentcloud/main.go:18:2: missing go.sum entry for module providing package <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen> (imported by <http://github.com/pulumi/pulumi-tencentcloud/provider/cmd/pulumi-tfgen-tencentcloud|github.com/pulumi/pulumi-tencentcloud/provider/cmd/pulumi-tfgen-tencentcloud>); to add:
go get <http://github.com/pulumi/pulumi-tencentcloud/provider/cmd/pulumi-tfgen-tencentcloud|github.com/pulumi/pulumi-tencentcloud/provider/cmd/pulumi-tfgen-tencentcloud>
resources.go:25:2: missing go.sum entry for module providing package <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim> (imported by <http://github.com/pulumi/pulumi-tencentcloud/provider|github.com/pulumi/pulumi-tencentcloud/provider>); to add:
go get <http://github.com/pulumi/pulumi-tencentcloud/provider|github.com/pulumi/pulumi-tencentcloud/provider>
resources.go:26:2: missing go.sum entry for module providing package <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v1|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v1> (imported by <http://github.com/pulumi/pulumi-tencentcloud/provider|github.com/pulumi/pulumi-tencentcloud/provider>); to add:
go get <http://github.com/pulumi/pulumi-tencentcloud/provider|github.com/pulumi/pulumi-tencentcloud/provider>
resources.go:27:2: missing go.sum entry for module providing package <http://github.com/pulumi/pulumi/sdk/v3/go/common/resource|github.com/pulumi/pulumi/sdk/v3/go/common/resource> (imported by <http://github.com/pulumi/pulumi-tencentcloud/provider|github.com/pulumi/pulumi-tencentcloud/provider>); to add:
go get <http://github.com/pulumi/pulumi-tencentcloud/provider|github.com/pulumi/pulumi-tencentcloud/provider>
resources.go:28:2: missing go.sum entry for module providing package <http://github.com/pulumi/pulumi/sdk/v3/go/common/tokens|github.com/pulumi/pulumi/sdk/v3/go/common/tokens> (imported by <http://github.com/pulumi/pulumi-tencentcloud/provider|github.com/pulumi/pulumi-tencentcloud/provider>); to add:
go get <http://github.com/pulumi/pulumi-tencentcloud/provider|github.com/pulumi/pulumi-tencentcloud/provider>
make: *** [tfgen] Error 1
big-potato-91793
09/03/2021, 2:46 PMhallowed-teacher-48474
09/03/2021, 3:16 PMcalm-printer-30863
09/03/2021, 4:50 PMerror: newrelic:index/nrqlAlertCondition:NrqlAlertCondition resource '[P2][TESTCOND][PULUMI]' has a problem: Attribute must be a whole number, got 1511617. Examine values at 'NrqlAlertCondition.PolicyId'.
calm-printer-30863
09/03/2021, 4:51 PMbrave-afternoon-91593
09/03/2021, 8:29 PMbulky-policeman-29913
09/04/2021, 12:30 AMminiature-shoe-76615
09/05/2021, 8:57 AMpodman
or kanilo
? It's really annoying to have pulumi ran in containized environment without DIND privilidege
Hi, is it possible to specifyechoing-vase-56822
09/05/2021, 8:05 PMpulumi up --yes
without any changes takes around 2-5min, which is not acceptable. Im trying to debug the performance with pulumi up --tracing=file:./trace --yes
. The resulting file is 170mb in size. When using PULUMI_DEBUG_COMMANDS=1 pulumi view-trace trace
the UI is very bugy displaying all the traces. Then I tried docker run -d --name jaeger -e COLLECTOR_ZIPKIN_HOST_PORT=:9411 -p 16686:16686 -p 9411:9411 jaegertracing/all-in-one:1.22
and pulumi up --yes --tracing=<http://localhost:9411/api/v1/spans>
but according to sudo tcpdump -i any port 9411
pulumi is not sending any traffic to port 9411 (curl localhost:9411
shows traffic).
1.) Whats wrong with http tracing?
2.) Is this performance expected?boundless-angle-56560
09/06/2021, 3:34 PMboundless-angle-56560
09/06/2021, 3:34 PMprehistoric-activity-61023
09/06/2021, 5:02 PMbillowy-army-68599
09/06/2021, 5:10 PMprehistoric-activity-61023
09/06/2021, 5:22 PM# Workaround: <https://github.com/pulumi/pulumi-kubernetes/issues/800>
def remove_status(obj, _):
if obj["kind"] == "CustomResourceDefinition":
del obj["status"]
(that’s a copy&paste from one of my projects)
If so, I was thinking about it but the message doesn’t seem to fit that case.billowy-army-68599
09/06/2021, 5:25 PMboundless-angle-56560
09/06/2021, 8:35 PMapiVersion: <http://apiextensions.k8s.io/v1|apiextensions.k8s.io/v1>
kind: CustomResourceDefinition
metadata:
name: manifests.akash.network
spec:
group: akash.network
scope: Namespaced
names:
plural: manifests
singular: manifest
kind: Manifest
shortNames:
- mani
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
lease_id:
type: object
properties:
owner:
type: string
dseq:
type: string
format: uint64
gseq:
type: integer
oseq:
type: integer
provider:
type: string
group:
type: object
properties:
name:
type: string
services:
type: array
items:
type: object
properties:
name:
type: string
image:
type: string
args:
type: array
items:
type: string
env:
type: array
items:
type: string
unit:
type: object
properties:
cpu:
type: number
format: uint32
memory:
type: string
format: uint64
storage:
type: string
format: uint64
count:
type: number
format: uint64
expose:
type: array
items:
type: object
properties:
port:
type: integer
format: uint16
external_port:
type: integer
format: uint16
proto:
type: string
service:
type: string
global:
type: boolean
hosts:
type: array
items:
type: string
billowy-army-68599
09/06/2021, 9:02 PMprehistoric-activity-61023
09/07/2021, 7:18 AMboundless-angle-56560
09/07/2021, 12:24 PMprehistoric-activity-61023
09/07/2021, 12:59 PM❯ pip freeze | grep pulumi-
pulumi-cloudflare==3.3.0
pulumi-gcp==5.11.0
pulumi-kubernetes==3.5.0
pulumi-random==4.2.0
pulumi-kubernetes
versionboundless-angle-56560
09/07/2021, 1:10 PMprehistoric-activity-61023
09/07/2021, 1:11 PMboundless-angle-56560
09/07/2021, 1:13 PMprehistoric-activity-61023
09/07/2021, 1:21 PMpip freeze | grep pulumi
?boundless-angle-56560
09/07/2021, 1:22 PMprehistoric-activity-61023
09/07/2021, 1:23 PMpip install --upgrade pulumi
boundless-angle-56560
09/07/2021, 1:24 PMprehistoric-activity-61023
09/07/2021, 1:25 PMboundless-angle-56560
09/07/2021, 1:25 PMprehistoric-activity-61023
09/07/2021, 1:25 PMboundless-angle-56560
09/07/2021, 1:26 PMprehistoric-activity-61023
09/07/2021, 1:26 PMrequirements.txt
file so just make sure you use pinned versions there.boundless-angle-56560
09/07/2021, 1:27 PMprehistoric-activity-61023
09/07/2021, 1:27 PMpulumi up
for exampleboundless-angle-56560
09/07/2021, 1:28 PMprehistoric-activity-61023
09/07/2021, 1:28 PMI think this is a common problem in the python worldI wouldn’t say so. There’s an interesting approach here used in pulumi where you have CLI tool (pulumi binary) as well as some programming lang environment (e.g. python but it might be js as well) and these two pieces must communicate with each other.
boundless-angle-56560
09/07/2021, 1:30 PMprehistoric-activity-61023
09/07/2021, 1:31 PMpulumi
as python dependency). If it’s possible to have “version conflicts”, we should have some warning/error while trying to run it 🤔 . If you take a look at the traceback, it’s quite hard for an inexperienced person to understand anything from it.
@billowy-army-68599
Maybe you can follow up? Did I get it right and if so, are there any plans to add some additional version assertions?billowy-army-68599
09/07/2021, 6:33 PM