elegant-pager-5412
08/03/2021, 5:35 AMBandwidth Exhausted
error randomly when trying to deploy, once in a while.
Any idea why it’s happening?bright-orange-69401
08/03/2021, 6:44 AMparent
attribute of a resource without re-creating it ? (it’s mostly for aesthetics anyway right ?)great-sunset-355
08/03/2021, 9:28 AMResourceOptions
has a providers
argument
opts = ResourceOptions(providers={"prov-name": provider_resource})
Is this the correct way to reference the provider?
opts.providers["prov-name"]
I wonder what error I get if the providers
dict does not contain the required provider - I assume it's general KeyError
right?purple-lawyer-35555
08/03/2021, 10:01 AMicy-jordan-58549
08/03/2021, 3:11 PMDiagnostics:
azure-native:storage:StorageAccount (admin-storage-account):
error: building auth config: obtain subscription(41b4bf32-35ba-4beb-be23-220c07d2df6e) from Azure CLI: Error parsing json result from the Azure CLI: Error launching Azure CLI: exec: "az": executable file not found in $PATH
quiet-architect-91246
08/03/2021, 3:17 PMpulumi.Run(func(ctx *pulumi.Context) error {
output := cluster.Provider.ApplyT(func(p *kubernetes.Provider) (string, error)
appSvc, svcerr := corev1.NewService(ctx, "app-svc", &corev1.ServiceArgs{
...
},
}, pulumi.Provider(p))
ctx.Export("appIp", appSvc.Status.ApplyT(func(status *corev1.ServiceStatus) *string {
return status.LoadBalancer.Ingress[0].Ip
}))
ctx.Export("test-export", pulumi.String("testexportvalue"))
return "", nil
}).(pulumi.StringOutput)
ctx.Export("output", output)
return nil
})
Hi everyone! Im running go code like stated above, and am wondering why only the "output" ctx.Export and not "test-export" or "appIp" show up in my Stack as outputs. I assume its because its inside of an .apply()
, but cant really understand why that would stop it from working. Also since it doesnt work the way I tried, how would you go about achieving a similar result?sparse-apartment-71989
08/03/2021, 4:13 PMgreat-sunset-355
08/03/2021, 4:56 PMoai = cloudfront.OriginAccessIdentity(
f"{PREFIX}-oai"
)
pulumi.export('origin_access_identity', oai)
stack B
ref_oai = StackReference(name="stackA").require_output('origin_access_identity')
The reference gives me the Output[dict]
with the exactly same parameters as created object in stack A
Is it possible to create an object OriginAccessIdentity
from this, without calling AWS API with OriginAccessIdentity.get()
?billions-glass-17089
08/03/2021, 5:22 PMechoing-actor-55539
08/03/2021, 8:50 PMwet-fall-57893
08/04/2021, 2:12 AMresource urn:pulumi:xxxx-aws-eks-dev-apse2-main::xxxx-aws-eks::kubernetes:core/v1:ConfigMap::authmap refers to unknown provider urn:pulumi:xxxx-aws-eks-dev-apse2-main::xxxx-aws-eks::pulumi:providers:kubernetes::main::4d5c9996-7f15-4da8-8bc8-7279220588c3
anything i need to look at in particular? Thankspurple-train-14007
08/04/2021, 2:28 AMboundless-car-60268
08/04/2021, 8:09 AMbrainy-midnight-57293
08/04/2021, 10:43 AMerror: no resource plugin 'opennebula' found in the workspace or on your $PATH
cold-coat-35200
08/04/2021, 11:06 AM~ spec: {
~ template: {
~ spec: {
~ containers: [
~ [0]: {
~ env: [
~ [0]: {
~ name : "LOG_LEVEL" => "CLOUDFLARE_CACHE"
~ value: "debug" => "false"
}
~ [1]: {
~ name : "AWS_REGION" => "CONFIG"
~ value: "eu-west-1" => "/.dliver-media-service.yml"
}
~ [2]: {
~ name : "AWS_BUCKET" => "MEDIA_CACHE_URL"
~ value: "bucket" => "media-url"
}
~ [3]: {
~ name : "CLOUDFLARE_API_TOKEN" => "STREAM_CONTROL_HOST"
~ value: "no-cloudflare-cache-on-dev" => "stream-control"
}
~ [4]: {
~ name : "CLOUDFLARE_CACHE" => "LOG_LEVEL"
~ value: "false" => "debug"
}
~ [5]: {
~ name : "CLOUDFLARE_ZONE_ID" => "AWS_REGION"
~ value: "no-zone-id-on-dev" => "eu-west-1"
}
~ [6]: {
~ name : "CONFIG" => "CLOUDFLARE_API_TOKEN"
~ value: "/.dliver-media-service.yml" => "no-cloudflare-cache-on-dev"
}
~ [7]: {
~ name : "IMAGE_PROCESSOR_HOST" => "REDIS_CACHE_HOST"
~ value: "image-processor" => "redis-cache"
}
~ [8]: {
~ name : "MEDIA_CACHE_URL" => "REDIS_CACHE_DATABASE"
~ value: "media-url" => "7"
}
~ [9]: {
~ name : "STREAM_CONTROL_HOST" => "JWT_SECRET"
~ value: "stream-control" => "[secret]"
}
~ [10]: {
~ name : "REDIS_CACHE_HOST" => "AWS_BUCKET"
~ value: "redis-cache" => "bucket"
}
~ [11]: {
~ name : "REDIS_CACHE_DATABASE" => "CLOUDFLARE_ZONE_ID"
~ value: "7" => "no-zone-id-on-dev"
}
~ [12]: {
~ name : "JWT_SECRET" => "IMAGE_PROCESSOR_HOST"
~ value: "[secret]" => "image-processor"
}
]
}
]
}
}
}
I reordered the list manually and the env values were the same...
So on top of that, I don't know why it thinks they are different, making it hard to figure out which one is the actual field with the wrong value. 🙂agreeable-ram-97887
08/04/2021, 12:18 PMpulumi preview
on a project which requires a CipherKey (in my case, used to encrypt user passwords), but where the one invoking preview
does not have access to the Key?sparse-apartment-71989
08/04/2021, 2:57 PMalert-mechanic-59024
08/04/2021, 3:01 PMsparse-apartment-71989
08/04/2021, 5:04 PMconsole.log()
. Then I tried using someSecret.substring(0)
and someSecret.substring(0, someSecret.length)
and it wouldn’t leak.
Then I tried outputting someSecret.concat('zzz')
and was amazed to see [secret]zzz
output.
Well done to whoever wrote the interceptor(s) to catch leaking secrets and help prevent their escaping!dazzling-city-47565
08/04/2021, 7:28 PMRandomPassword
resources. Is there a way to transfer a RandomPassword resource from one stack to another? I’m not having much luck with pulumi import
, and I’m unable to copy the resource from the state file without reencrypting the ciphertext somehow..bland-engine-38972
08/04/2021, 7:36 PMbrainy-midnight-57293
08/05/2021, 9:56 AMerror: no resource plugin 'opennebula' found in the workspace or on your $PATH
quick-apartment-79350
08/05/2021, 10:03 AMmodern-toothbrush-56347
08/05/2021, 12:20 PMancient-eve-13947
08/05/2021, 1:28 PMrapid-iron-52715
08/05/2021, 3:00 PMrapid-iron-52715
08/05/2021, 3:18 PMrapid-iron-52715
08/05/2021, 3:18 PMrapid-iron-52715
08/05/2021, 3:19 PMrapid-iron-52715
08/05/2021, 3:19 PMrapid-iron-52715
08/05/2021, 3:19 PM