handsome-candle-10543
03/29/2022, 8:30 AMawsnative.wafv2.WebAcl
/ awsnative.wafv2.WebAclAssociation
, but i have had similar problems in the past with certificates.many-psychiatrist-74327
03/29/2022, 1:23 PMpurple-lion-34129
03/29/2022, 1:26 PMpurple-lion-34129
03/29/2022, 1:27 PMmany-psychiatrist-74327
03/29/2022, 2:01 PMmagnificent-lifeguard-15082
03/29/2022, 2:46 PM+ command:local:Command pro-sto-site-sync creating error: transport is closing
+ command:local:Command pro-sto-site-sync **creating failed** error: transport is closing
pulumi:pulumi:Stack platform-production running panic: runtime error: invalid memory address or nil pointer dereference
pulumi:pulumi:Stack platform-production running [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xc07034]
pulumi:pulumi:Stack platform-production running goroutine 9 [running]:
pulumi:pulumi:Stack platform-production running <http://github.com/pulumi/pulumi-command/provider/pkg/provider.(*command).run(0xc00007aae0|github.com/pulumi/pulumi-command/provider/pkg/provider.(*command).run(0xc00007aae0>, 0xf219e0, 0xc000382e40, 0xc000038600, 0x57, 0xc0000ad3b0, 0xc00003c2a0, 0x6a, 0x0, 0x0, ...)
pulumi:pulumi:Stack platform-production running /home/runner/work/pulumi-command/pulumi-command/provider/pkg/provider/command.go:115 +0x794
pulumi:pulumi:Stack platform-production running <http://github.com/pulumi/pulumi-command/provider/pkg/provider.(*command).RunCreate(0xc00007aae0|github.com/pulumi/pulumi-command/provider/pkg/provider.(*command).RunCreate(0xc00007aae0>, 0xf219e0, 0xc000382e40, 0xc0000ad3b0, 0xc00003c2a0, 0x6a, 0x0, 0x0, 0x0, 0x0)
pulumi:pulumi:Stack platform-production running /home/runner/work/pulumi-command/pulumi-command/provider/pkg/provider/command.go:50 +0x93
pulumi:pulumi:Stack platform-production running <http://github.com/pulumi/pulumi-command/provider/pkg/provider.(*commandProvider).Create(0xc000109b00|github.com/pulumi/pulumi-command/provider/pkg/provider.(*commandProvider).Create(0xc000109b00>, 0xf21a88, 0xc00007f560, 0xc00007cb90, 0x0, 0x0, 0x0)
pulumi:pulumi:Stack platform-production running /home/runner/work/pulumi-command/pulumi-command/provider/pkg/provider/provider.go:197 +0xe85
pulumi:pulumi:Stack platform-production running <http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Create_Handler.func1(0xf21a88|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Create_Handler.func1(0xf21a88>, 0xc00007f560, 0xdad2e0, 0xc00007cb90, 0xdbbac0, 0x1471400, 0xf21a88, 0xc00007f560)
pulumi:pulumi:Stack platform-production running /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.19.0/proto/go/provider.pb.go:2602 +0x89
pulumi:pulumi:Stack platform-production running <http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0xf21a88|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0xf21a88>, 0xc00007f230, 0xdad2e0, 0xc00007cb90, 0xc0000305a0, 0xc00000c8d0, 0x0, 0x0, 0xf0f3a0, 0xc00009d6e0)
pulumi:pulumi:Stack platform-production running /home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x30a
pulumi:pulumi:Stack platform-production running <http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Create_Handler(0xdce940|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Create_Handler(0xdce940>, 0xc000109b00, 0xf21a88, 0xc00007f230, 0xc00007aa80, 0xc0000c38c0, 0xf21a88, 0xc00007f230, 0xc0003aca80, 0x34a)
pulumi:pulumi:Stack platform-production running /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.19.0/proto/go/provider.pb.go:2604 +0x150
pulumi:pulumi:Stack platform-production running <http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc000249880|google.golang.org/grpc.(*Server).processUnaryRPC(0xc000249880>, 0xf29e38, 0xc0000bf500, 0xc0003965a0, 0xc000109b90, 0x14344a0, 0x0, 0x0, 0x0)
pulumi:pulumi:Stack platform-production running /home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:1217 +0x52b
pulumi:pulumi:Stack platform-production running <http://google.golang.org/grpc.(*Server).handleStream(0xc000249880|google.golang.org/grpc.(*Server).handleStream(0xc000249880>, 0xf29e38, 0xc0000bf500, 0xc0003965a0, 0x0)
pulumi:pulumi:Stack platform-production running /home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:1540 +0xd0c
pulumi:pulumi:Stack platform-production running <http://google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc0002fc260|google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc0002fc260>, 0xc000249880, 0xf29e38, 0xc0000bf500, 0xc0003965a0)
pulumi:pulumi:Stack platform-production running /home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:878 +0xab
pulumi:pulumi:Stack platform-production running created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1>
pulumi:pulumi:Stack platform-production running /home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:876 +0x1fd
+ command:local:Command pro-dev-docs-sync creating error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:38829: connect: connection refused"
+ command:local:Command pro-dev-docs-sync **creating failed** error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:38829: connect: connection refused"
ambitious-father-68746
03/29/2022, 2:51 PMpulumi stack graph
take into account implicit dependencies, not just explicit?wonderful-twilight-70958
03/29/2022, 4:02 PMthousands-hairdresser-72380
03/29/2022, 4:13 PMpulumi stack rm
.
When they attempt to do so, they get this error:
error: [403] You do not have permission to perform this operation.
Increasing the verbosity hasn’t provided any more information.
I am able to delete them with no issue (note I am an admin for our team).
Thank you!fierce-xylophone-92490
03/30/2022, 9:21 AMawsx
for Python will be available? Our team feels stuck with AWS CDK until it is.calm-tent-21096
03/30/2022, 11:39 AMechoing-postman-88590
03/30/2022, 1:18 PMkubernetes.Provider
to use the default path ~/.kube/config
:
k8s_provider = kubernetes.Provider("k8s")
But if I try to access the k8s_provider.kubeconfig
argument it is empty.
For example if I try to reference it in a secret:
secrets = kubernetes.core.v1.Secret(
"secrets",
metadata={
"name": "secrets",
},
string_data={
"key": "value",
"KUBECONFIG": k8s_provider.kubeconfig,
},
opts=ResourceOptions(provider=k8s_provider),
)
tall-sundown-40473
03/30/2022, 2:19 PMpulumi_gcp.appengine.Application.get(resource_name, unique_provider_id)
Anyone knows where I can get the value for second parameter?stocky-petabyte-29883
03/30/2022, 3:01 PMagreeable-king-2755
03/30/2022, 3:38 PMadorable-computer-41765
03/30/2022, 4:46 PMwindows-curses
, and re-installed both pip packages. I get the following error:
Diagnostics:
pulumi:pulumi:Stack (pulumi-kubecost-dev):
error: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin\pulumi-language-python-exec", line 107, in <module>
loop.run_until_complete(coro)
File "C:\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "C:\GitHub\pulumi-kubecost\venv\lib\site-packages\pulumi\runtime\stack.py", line 126, in run_in_stack
await run_pulumi_func(lambda: Stack(func))
File "C:\GitHub\pulumi-kubecost\venv\lib\site-packages\pulumi\runtime\stack.py", line 49, in run_pulumi_func
func()
File "C:\GitHub\pulumi-kubecost\venv\lib\site-packages\pulumi\runtime\stack.py", line 126, in <lambda>
await run_pulumi_func(lambda: Stack(func))
File "C:\GitHub\pulumi-kubecost\venv\lib\site-packages\pulumi\runtime\stack.py", line 149, in __init__
func()
File "C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin\pulumi-language-python-exec", line 106, in <lambda>
coro = pulumi.runtime.run_in_stack(lambda: runpy.run_path(args.PROGRAM, run_name='__main__'))
File "C:\Python39\lib\runpy.py", line 285, in run_path
return _run_code(code, mod_globals, init_globals,
File "C:\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File ".\__main__.py", line 3, in <module>
from curses import meta
File "C:\Python39\lib\curses\__init__.py", line 13, in <module>
from _curses import *
ModuleNotFoundError: No module named '_curses'
error: an unhandled error occurred: Program exited with non-zero exit code: 1
mammoth-garden-53682
03/30/2022, 5:02 PMpolite-napkin-90098
03/30/2022, 8:08 PMsalmon-optician-54886
03/31/2022, 3:18 AMaws.dlm.LifecyclePolicy
? (im trying to create ebs snapshots on a cron) I tried to run the one in the docs but am running into this error
raise AssertionError(f"Unexpected type. Expected 'list' got '{typ}'")
AssertionError: Unexpected type. Expected 'list' got '<class 'str'>'
and am not sure what’s causing thisvictorious-wall-1075
03/31/2022, 5:12 AMbillions-orange-71472
03/31/2022, 6:18 AMadamant-architect-10544
03/31/2022, 11:14 AMDiagnostics:
pulumi:pulumi:Stack (test-trial2):
Python 3.6 is approaching EOL and will not be supported in Pulumi soon. Check <https://github.com/pulumi/pulumi/issues/8131> for more details
debug: registering resource: ty=pulumi:pulumi:Stack, name=test-trial2, custom=False, remote=False
debug: registering resource: ty=pulumi:providers:kubernetes, name=my-k8s, custom=True, remote=False
debug: registering resource: ty=kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release>, name=trial-edge, custom=True, remote=False
debug: Waiting for outstanding RPCs to complete
debug: RPCs successfully completed
debug: Waiting for 55 outstanding tasks to complete
debug: beginning rpc register resource
debug: beginning rpc register resource
debug: beginning rpc register resource
debug: beginning rpc register resource outputs
debug: resource registration prepared: ty=pulumi:pulumi:Stack, name=test-trial2
debug: resource registration successful: ty=pulumi:pulumi:Stack, urn=urn:pulumi:trial2::test::pulumi:pulumi:Stack::test-trial2
debug: resource registration prepared: ty=pulumi:providers:kubernetes, name=my-k8s
debug: register resource outputs prepared: urn=urn:pulumi:raji-trial2::test::pulumi:pulumi:Stack::test-trial2, props=
debug: resource registration successful: urn=urn:pulumi:raji-trial2::test::pulumi:pulumi:Stack::test-trial2, props=
debug: resource registration successful: ty=pulumi:providers:kubernetes, urn=urn:pulumi:trial2::test::pulumi:providers:kubernetes::my-k8s
debug: resource registration prepared: ty=kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release>, name=trial-edge
error: update failed
debug: resource registration successful: ty=kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release>, urn=urn:pulumi:trial2::test::kubernetes:<http://helm.sh/v3:Release::trial-edge|helm.sh/v3:Release::trial-edge>
kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> (trial-edge):
warning: Helm release "trial-edge-8kchrd9c" was created but has a failed status. Use the `helm` command to investigate the error, correct it, then retry. Reason: timed out waiting for the condition
error: 1 error occurred:
* Helm release "trial-edge/trial-edge-8kchrd9c" was created, but failed to initialize completely. Use Helm CLI to investigate.: failed to become available within allocated timeout. Error: Helm Release trial-edge/trial-edge-8kchrd9c: timed out waiting for the condition
The same chart goes through fine when deploying manually (helm status shows deployed as well). All k8s objects are created properly in both the cases. How do I need to debug this further?echoing-postman-88590
03/31/2022, 11:47 AMstocky-petabyte-29883
03/31/2022, 12:42 PMlet accountDetails = [
{name: 'test', email: '<mailto:testt@example.io|testt@example.io>', environment: 'test', billingInfoAccess: 'ALLOW'}
];
var accountOutput: { accountName: string, accountId: string }[] = [];
for (const accountDetail of accountDetails) {
const account = new aws.organizations.Account(accountDetail.name, {
email: accountDetail.email,
iamUserAccessToBilling: accountDetail.billingInfoAccess,
name: accountDetail.name,
tags: {
Environment: accountDetail.environment
},
});
account.arn.apply(arn => {
console.log(arn);
accountOutput.push({accountName: accountDetail.name, accountId: arn})
})
};
export const outputs = {
accountInfo: accountOutput,
}
lively-vr-73939
03/31/2022, 1:56 PMS3
bucket as the backend. I believe the Pulumi.<stack>.yaml
should not be committed (pls correct me if I'm wrong). May I please know the recommended way of setting the configs? Should I set the each config from environment variable using pulumi config set/set-all
command? If so How should I set the secretsprovider
and the encryptedkey
? Or can I retrieve those configs from backend?stocky-petabyte-29883
03/31/2022, 1:59 PMjolly-church-88521
03/31/2022, 3:06 PMsilly-receptionist-99224
03/31/2022, 3:43 PM__main__.py
files in Python? So I can be able to split users, databases, roles, etc..
Currently using Pulumi for the first time and I am trying to manage some Snowflake resources using pulumi_snowflakemany-psychiatrist-74327
03/31/2022, 4:00 PMgcp.container.NodePool
, but pulumi up
keeps failing with a 404:
gcp:container:NodePool (dev-gcp-us-east1-pool2):
error: 1 error occurred:
* creating urn:pulumi:dev::infra::gcp:container/nodePool:NodePool::dev-gcp-us-east1-pool2: 1 error occurred:
* error creating NodePool: googleapi: got HTTP response code 404 with body: <!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 404 (Not Found)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
<p><b>404.</b> <ins>That's an error.</ins>
<p>The requested URL <code>/v1beta1/projects/jetpack-dev/locations/us-east1/clusters/projects/jetpack-dev/locations/us-east1/clusters/dev-gcp-us-east1/nodePools?alt=json&prettyPrint=false</code> was not found on this server. <ins>That's all we know.</ins>
Here’s the resource definition:
const nodepool = new gcp.container.NodePool(
`${name}-pool2`,
{
cluster: cluster.id,
location: config.require("region"),
nodeCount: 1,
autoscaling: {
minNodeCount: 1,
maxNodeCount: 10,
},
nodeConfig: {
serviceAccount: serviceAccount.email,
oauthScopes: ["<https://www.googleapis.com/auth/cloud-platform>"],
machineType: "e2-standard-8",
imageType: "UBUNTU",
}
},
{
provider: gcpProvider
}
);
am i missing something silly/simple here?careful-petabyte-65672
04/01/2022, 8:32 AMStackRefrence
to get output of stack 1 to use in stack 2, if I do pulumi up
to both stacks at once, will stack 2 wait for stack 1 to produce the output before using it? Thanks!careful-petabyte-65672
04/01/2022, 8:32 AMStackRefrence
to get output of stack 1 to use in stack 2, if I do pulumi up
to both stacks at once, will stack 2 wait for stack 1 to produce the output before using it? Thanks!echoing-dinner-19531
04/01/2022, 9:38 AMcareful-petabyte-65672
04/02/2022, 7:14 AMechoing-dinner-19531
04/02/2022, 7:22 AMcareful-petabyte-65672
04/02/2022, 9:17 AMpulumi up
to all and when I need the output do the poling.echoing-dinner-19531
04/02/2022, 10:18 AMcareful-petabyte-65672
04/02/2022, 10:24 AMwhile True:
my_stack = pulumi.StackReference("my-stack")
value = my_stack.get_output(key)
if value:
return value
time.sleep(10)
echoing-dinner-19531
04/02/2022, 11:25 AMcareful-petabyte-65672
04/02/2022, 5:32 PMechoing-dinner-19531
04/02/2022, 5:41 PMstackOutputs
will do a fetch each time you call itcareful-petabyte-65672
04/03/2022, 1:16 PM