ambitious-optician-69807
02/18/2021, 8:34 AMambitious-optician-69807
02/18/2021, 8:36 AMPulumi.yaml
. The whole point is I don’t want to write CloudFormation yaml or K8s yaml or Helm Chart yaml. I say get rid of it if you canambitious-optician-69807
02/18/2021, 8:40 AMbetter-actor-92669
02/18/2021, 10:38 AMred-lighter-44012
02/18/2021, 10:43 AMbroad-hairdresser-1495
02/18/2021, 4:35 PM>pulumi login <https://app.pulumi.com/>
Manage your Pulumi stacks by logging in.
Run `pulumi login --help` for alternative login options.
Enter your access token: <Access Token from <https://app.pulumi.com/><username>/settings/tokens >
error: problem logging in: getting user info from <https://app.pulumi.com/>: unmarshalling response object: invalid character '<' looking for beginning of value
it seems like I'm missing something.mammoth-honey-6147
02/18/2021, 8:18 PMearly-balloon-35820
02/18/2021, 10:47 PMambitious-father-68746
02/19/2021, 1:50 AMambitious-father-68746
02/19/2021, 2:46 AM--target-replace
on the CLI. At least I couldn't find anything in the ResourceOptions. Thank you.ambitious-father-68746
02/19/2021, 3:25 AMgifted-student-18589
02/19/2021, 9:52 AMfile://
as a backend for local development, and have s3://
in CI/CD?
So basically, different backends in different contexts.
Thanks!mammoth-honey-6147
02/19/2021, 12:29 PMpulumi preview
to download and compile the go packages, it seems to use all my RAM (16GB) and will eventually crash. Specific details in thread:jolly-lunch-12979
02/19/2021, 1:38 PMgreat-dog-65117
02/19/2021, 1:52 PMPulumi.Listener()
to, say send a signal (after benchmark execution) to trigger resource destruction?red-lighter-44012
02/19/2021, 5:27 PMpulumi destroy
a stack that has a PostgreS database with a created role that owns resources. role "{role name}" cannot be dropped because some objects depend on it
is the error im getting. I need to reassign owned resources or somehow delete the database before the role that owns resources in it. How can I achieve this?
I thought that setting skipReassignOwned
on the role would help, but even after applying this and re-running destroy I get the same error.sparse-winter-38469
02/19/2021, 9:24 PMpulumi logs -f
I get an error:
error: failed to get logs: 1 error occurred:
* rpc error: code = PermissionDenied desc = The caller does not have permission
Is this related to my IAM role/how do I fix this issue?stocky-parrot-75654
02/20/2021, 12:40 AMcolossal-australia-65039
02/20/2021, 3:10 AMpulumi up
is taking a reallly long time to provision my infrastructure (the preview step is fine, taking only 30 sec). I have about 150 resources in this stack and I'm not sure if that's above the upper limit that it's supposed to reasonably handle. Any change, even just a minor change to a kubernetes resource annotation is taking several minutes. Has anyone else run into something like this? Unfortunately the trace doesn't give me any information on why it takes so long (this is for a 6min 29 sec up
step)
[{
"ID": {
"Trace": "4eb4fcc5ac88eb53",
"Span": "78a16bb236ea45fb",
"Parent": "0000000000000000"
},
"Annotations": [
{
"Key": "Name",
"Value": "cHVsdW1p"
},
{
"Key": "_schema:name",
"Value": null
},
{
"Key": "Span.Start",
"Value": "MjAyMS0wMi0yMFQwMzoxNTo0NC42NzY4ODczWg=="
},
{
"Key": "Span.End",
"Value": "MjAyMS0wMi0yMFQwMzoyMjoxNC4wNDc4MTZa"
},
{
"Key": "_schema:Timespan",
"Value": null
}
],
"Sub": null
}]
I'm on version v2.21.1
by the waywonderful-river-94448
02/20/2021, 5:52 AMOutput
but unfortunately this makes me run into another bug that makes the pulumi destroy
command fail. Ideally I'd like to hook some custom code into the destroy
flow but it seems the my C# stack doesn't get invoked at all upon delete. Is it possible to hook into the delete flow of a resource? I tried looking into making a custom plugin but they seem to be Go (?) binaries and dynamic providers are not yet available on C#steep-baker-41148
02/20/2021, 10:04 AMwide-boots-22590
02/20/2021, 11:47 AMearly-intern-90238
02/20/2021, 7:51 PMearly-intern-90238
02/20/2021, 7:51 PMearly-intern-90238
02/20/2021, 8:55 PMcrooked-exabyte-92919
02/20/2021, 9:42 PMchilly-night-36370
02/21/2021, 9:39 AMwet-noon-14291
02/21/2021, 11:13 PMstraight-cartoon-24485
02/22/2021, 5:07 AMbroad-hairdresser-1495
02/22/2021, 11:08 AMD:\GIT\GIT\git_lab\pre-prod_system_test\pulumi\PyClient>python myPulumiClient.py
Traceback (most recent call last):
File "D:\GIT\GIT\git_lab\pre-prod_system_test\pulumi\PyClient\myPulumiClient.py", line 61, in <module>
stack = auto.create_or_select_stack(stack_name=stack_name,
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 398, in create_or_select_stack
return _inline_source_stack_helper(stack_name, program, project_name, Stack.create_or_select, opts) # type: ignore
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 416, in _inline_source_stack_helper
return init_fn(stack_name, ws)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\stack.py", line 188, in create_or_select
return Stack(stack_name, workspace, StackInitMode.CREATE_OR_SELECT)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\stack.py", line 214, in __init__
workspace.create_stack(name)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 205, in create_stack
self._run_pulumi_cmd_sync(args)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 276, in _run_pulumi_cmd_sync
return _run_pulumi_cmd(args, self.work_dir, envs, on_output)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\cmd.py", line 75, in _run_pulumi_cmd
os.remove(stderr_file.name) <<<<
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\romlaz\\AppData\\Local\\Temp\\tmp8o_qs82u'
file is created but cant delete it self due to it is still open by another process.broad-hairdresser-1495
02/22/2021, 11:08 AMD:\GIT\GIT\git_lab\pre-prod_system_test\pulumi\PyClient>python myPulumiClient.py
Traceback (most recent call last):
File "D:\GIT\GIT\git_lab\pre-prod_system_test\pulumi\PyClient\myPulumiClient.py", line 61, in <module>
stack = auto.create_or_select_stack(stack_name=stack_name,
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 398, in create_or_select_stack
return _inline_source_stack_helper(stack_name, program, project_name, Stack.create_or_select, opts) # type: ignore
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 416, in _inline_source_stack_helper
return init_fn(stack_name, ws)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\stack.py", line 188, in create_or_select
return Stack(stack_name, workspace, StackInitMode.CREATE_OR_SELECT)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\stack.py", line 214, in __init__
workspace.create_stack(name)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 205, in create_stack
self._run_pulumi_cmd_sync(args)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 276, in _run_pulumi_cmd_sync
return _run_pulumi_cmd(args, self.work_dir, envs, on_output)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\cmd.py", line 75, in _run_pulumi_cmd
os.remove(stderr_file.name) <<<<
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\romlaz\\AppData\\Local\\Temp\\tmp8o_qs82u'
file is created but cant delete it self due to it is still open by another process.pulumi\x\automation\cmd.py
try:
os.remove(stderr_file.name)
except:
pass
billowy-army-68599
02/22/2021, 3:42 PMbroad-hairdresser-1495
02/22/2021, 4:23 PMbillowy-army-68599
02/22/2021, 4:25 PMbroad-hairdresser-1495
02/22/2021, 4:44 PMbillowy-army-68599
02/22/2021, 4:45 PM