worried-helmet-23171
06/14/2022, 12:29 AMcool-computer-40158
06/14/2022, 9:23 AMcold-orange-37453
06/15/2022, 12:50 PMInputDiff is true if this is a difference between old and new inputs rather than old state and new inputs.
, am I correct to understand that whenever there is some external change made to a resource, for example a tag is changed for AWS sqs, the InputDiff for that change will be False, whereas if I change the tag for AWS SQS in pulumi code, then InputDiff will be True ?plain-pillow-11037
06/22/2022, 6:38 PMprotected
. For the purposes of testing tear down/resource cleanup I need to unprotect
the resources before destroying the stack. What’s the best way to do this?ancient-solstice-53934
06/23/2022, 12:22 PMlemon-lamp-41193
07/01/2022, 2:24 AM# New Pulumi Project
EngineEvent(
...
resource_pre_event=ResourcePreEvent(
metadata=StepEventMetadata(
op=<OpType.SAME: 'same'>,
urn='urn:pulumi:dev::...
# Old Pulumi Project
EngineEvent(
...
resource_pre_event=ResourcePreEvent(
metadata={
'op': 'same',
'urn': 'urn:pulumi:dev::...
mammoth-garden-53682
07/01/2022, 11:38 PMauto.GitRepo
:
failed to create stack: failed to create workspace, unable to enlist in git repo: unable to checkout branch: reference not found
using a PAT. Config is straight from example and looks like this:
auth := &auto.GitAuth{
PersonalAccessToken: cfg.AuthToken,
}
repo := auto.GitRepo{
Auth: auth,
URL: cfg.Repo,
Branch: cfg.Branch,
}
ctx := context.Background()
s, err := auto.NewStackRemoteSource(ctx, "dev", repo)
If I don’t specify branch then it works…quiet-laptop-13439
07/11/2022, 10:20 AMquiet-laptop-13439
07/27/2022, 9:51 AMacoustic-window-73051
07/27/2022, 3:38 PMmost-lighter-95902
07/28/2022, 3:56 AMmost-lighter-95902
07/28/2022, 3:56 AMThe Pulumi runtime detected that 148 promises were still active
at the time that the process exited. There are a few ways that this can occur:
* Not using `await` or `.then` on a Promise returned from a Pulumi API
* Introducing a cyclic dependency between two Pulumi Resources
* A bug in the Pulumi Runtime
most-lighter-95902
07/28/2022, 3:58 AMmammoth-garden-53682
07/28/2022, 7:09 PMoptup/optdestroy.EventStreams
to stream changes to one or more clients. The events are dispatched as expected but when my operation completes the channel I provide is continuously spammed with events that have null values and no sequence. Marshaled event:
INFO[0028] { 'event': {"sequence":0,"timestamp":0,"Error":null} }
Is this…expected? Am I not able to use long-lived channels for for event streams? My code is fairly straightforward:
...
ctx := context.Background()
upResp, err := stack.Up(ctx, optup.EventStreams(ec))
...
// and in another goroutine
...
for {
select {
case <-sl.Done:
return
case e := <-<http://sl.ec|sl.ec>:
me, _ := json.Marshal(e)
log.Infof("{ 'event': %s }", me)
}
}
gorgeous-accountant-60580
07/28/2022, 9:02 PMkind-hamburger-15227
08/03/2022, 11:25 AMvictorious-memory-43562
08/05/2022, 2:23 AMminiature-leather-70472
08/08/2022, 3:07 PMcold-orange-37453
08/11/2022, 6:29 AMcold-orange-37453
08/11/2022, 7:54 AMsalmon-musician-20405
08/11/2022, 7:33 PMmicroscopic-postman-4756
08/12/2022, 8:11 PMkind-napkin-54965
08/19/2022, 11:53 AMup_res = stack.up(on_output=print)
. It outputs:
E0819 14:48:02.366739000 4372022656 <http://fork_posix.cc:76]|fork_posix.cc:76]> Other threads are currently calling into gRPC, skipping fork() handlers
Updating (<redacted>/dev)
View Live: <https://app.pulumi.com/><redacted>/gcp-python/dev/updates/6
pulumi:pulumi:Stack gcp-python-dev running
gcp:storage:Bucket my-bucket-new
pulumi:pulumi:Stack gcp-python-dev
Outputs:
bucket_name: "<gs://my-bucket-new-7aa5ca0>"
Resources:
2 unchanged
Duration: 1s
E0819 14:48:09.979133000 4372022656 <http://fork_posix.cc:76]|fork_posix.cc:76]> Other threads are currently calling into gRPC, skipping fork() handlers
E0819 14:48:11.208918000 4372022656 <http://fork_posix.cc:76]|fork_posix.cc:76]> Other threads are currently calling into gRPC, skipping fork() handlers
E0819 14:48:12.668303000 4372022656 <http://fork_posix.cc:76]|fork_posix.cc:76]> Other threads are currently calling into gRPC, skipping fork() handlers
Any ideas what's going on here? Running on zsh/mac m1.kind-napkin-54965
08/19/2022, 12:02 PMos.environ['GRPC_ENABLE_FORK_SUPPORT'] = "false"
.bulky-yacht-13037
08/23/2022, 2:24 PMauto.Workspace
interface?
I’ve had some issues with the existing auto.LocalWorkspace
one (most probably because of lack of experience w/ Pulumi) and would really prefer a “native” implementation instead of relying on having the pulumi
CLI installed in the systems we’ll use it.silly-smartphone-71988
08/24/2022, 11:54 AMLocalWorkspace.CreateOrSelectStackAsync
which works great. But is there a way to remove a stack (not destroy) using pulumi.automation? Right now I have to do it using the CLI pulumi stack rmbulky-yacht-13037
08/24/2022, 12:02 PMopts := []auto.LocalWorkspaceOption{
...
auto.SecretsProvider("awskms://..."),
}
stack, err := auto.UpsertStackLocalSource(ctx, "dev", "example", opts...)
if err != nil {
log.Fatalf("Failed to load dev stack: %s\n", err)
}
_, err = stack.Refresh(ctx, optrefresh.ProgressStreams(os.Stdout))
if err != nil {
log.Fatalf("Failed to refresh dev stack: %s\n", err)
}
Results in the following error:
[...] passphrase must be set with PULUMI_CONFIG_PASSPHRASE or PULUMI_CONFIG_PASSPHRASE_FILE environment variables [...]
bulky-yacht-13037
08/24/2022, 2:58 PMabundant-vegetable-12924
08/24/2022, 8:32 PMaws:region
and nothing else really, but the thing i'm working on has several config parameters....are people setting up [in python] configparser style .ini or .yaml files (maybe tsconfig.json if you're doing typescript?) and reading that in......or is there some pulumi magics? or something different? 🙂ancient-solstice-53934
09/12/2022, 6:44 PM