wooden-vegetable-2653510/05/2022, 7:31 AM
to get a stacks output. Some of those outputs are encrypted, and i need a way to decrypt those for my script. Is there a way to decrypt the encrypted outputs of a stack/export rest api call without using the pulumi cli/sdk? Can you point me to documenation for this use case?
rhythmic-tailor-124210/08/2022, 4:26 PM
? is it my
echoing-dinner-1953110/08/2022, 4:29 PM
early-cat-3415210/10/2022, 8:27 AM
on the CL works fine. How can I find out which user Pulumi is using for authentication?
early-cat-3415210/10/2022, 11:41 AM
refined-engine-1212510/11/2022, 4:15 PM
able-ability-1120310/11/2022, 4:59 PM
command is completed on definitely ready stack? Should I do a custom provider, or a local Command perhaps? I am off k8s at the moment (as I know it has a notion of readiness probes etc), going by sole containers for dev and pure VMs for prod. This probably extends to eventual regular checks of infrastructure, that
will conduct when run by cron, as that's the IaaC way, right? 😉 Thanks!
able-ability-1120310/11/2022, 5:35 PM
), both having the same sets of stacks (like
). But when doing
at the second project. Pulumi tells me that stack
pulumi stack init dev
already exists. My structure is like depicted here (as in docs).
creamy-window-2103610/11/2022, 7:40 PM
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN
from pulumi import automation as auto def program(): pass auto.create_stack( stack_name="Dev", project_name="MyfirstProject", program=program, opts=auto.LocalWorkspaceOptions( project_settings=auto.ProjectSettings( name="Test", runtime="python", backend=auto.ProjectBackend(url="<s3://test-bucket>") ) ) )
clean-controller-9273210/11/2022, 11:27 PM
updating stack... Updating (test22): pulumi:pulumi:Stack AUTOIAM-TAMTOOL-test22 running aws:iam:User test22 [diff: ~tags] ~ aws:iam:UserPolicy useast-partner-datafeed updating [diff: ~policy] ~ aws:iam:UserPolicy useast-partner-datafeed updated [diff: ~policy] pulumi:pulumi:Stack AUTOIAM-TAMTOOL-test22 Resources: ~ 1 updated 2 unchanged
few-carpenter-1288510/12/2022, 5:19 PM
types. I'm dealing with a MongoDB URI, db name, and an associated username/password. I have all 4 of these as outputs, and i am trying to form them into a proper MongoDB connection string. This involves taking the URI in the format
and inserting the username/password to form this format:
. The problem I have is that I need to do some sort of replace in order to retain the
section of the URI - this means that
is not sufficient for my use-case. Any suggestions where I can go from here? Just keep them separate and form them properly in the application?
ancient-nightfall-5476410/13/2022, 7:23 AM
witty-vegetable-6196110/14/2022, 2:21 PM
polite-ocean-1363110/14/2022, 3:25 PM
parameter? I have the parameter set to a
set to the ARN of my task definition, but after bringing the stack up the AWS console shows no targets for the EventBridge rule, and no tasks are created from the task definition even though the
is using a rule that should run it on a schedule every few minutes.
polite-ocean-1363110/14/2022, 4:22 PM
wrapped value? I can't do
is of type
, but when I rewrite that to use
the name & value don't appear with the other exported values. Tossing a
statement in there reveals in the diagnostics that it is being run, and the correct name/value pairs get through, but despite that they don't seem to get exported.
green-bird-470610/16/2022, 11:06 PM
(rsa certicate) and
in the Terrform provider. I would like to add these as config secrets in Pulumi, but looking at the docs it only has the option to set the path to the certificate?
few-plastic-8843510/17/2022, 12:38 PM
quaint-hydrogen-722810/18/2022, 6:52 AM
brave-motorcycle-6748710/18/2022, 7:58 PM
to not make changes to it: • If I provide any value for the
field in the auto-generated code, Pulumi attempts to update it via AWS's API and that fails because it has to be set on creation. • If I don't provide
, Pulumi errors out because it's a required field. • If I don't define the resource at all, Pulumi errors out because it would attempt to delete it from AWS (but thankfully
) I'd like to either back out of the import or move forward in a no-op way, but I'm not sure how to do either of those. I think my options are 1. Set up
to let Pulumi delete and recreate the resource in AWS. Theoretically fine, but since this is in-use infrastructure and I'm just getting this set up for the first time, I'm nervous about this happening correctly. 2. Do some sort of stack edit to remove the imported resource, and try it again but with
. I'm not sure how I would do this, and it seems like the sort of dangerous path that I shouldn't be pursuing as a beginner. 3. Do some sort of stack edit to fix the imported resource so it correctly knows what is set up in AWS and doesn't try to make any changes to it. Similarly sounds risky. Any advice on a path out of this? I haven't yet learned many of the tools for dealing with problems I create in Pulumi. simple smile
brave-motorcycle-6748710/18/2022, 8:59 PM
? I thought it would be the type field in the yaml tab of the docs, but that seems inconsistent: •
-> ??? (not any of:
) I assume there is some other place to look this up that I'm just missing
few-carpenter-1288510/19/2022, 3:30 PM
millions-train-9113910/20/2022, 8:53 AM
helpful-baker-3883910/20/2022, 4:19 PM
? If verbose logging is telling me what object is NoneType, I’m not finding it.
TypeError: 'NoneType' object is not subscriptable
few-carpenter-1288510/21/2022, 6:55 PM
errors during development. I'm assuming this is because the stack hasn't reached a final state after a failure or cancellation. I'm using the Automation API - is there any way I can safeguard against this error? Would checking the state of the stack work for this or inspecting the refresResult?
Resource monitor is terminating
sparse-intern-7108910/26/2022, 1:26 AM
thousands-area-4014710/26/2022, 8:56 PM
.apply( v => console.log( v ) )
prehistoric-waitress-3499810/27/2022, 2:19 PM
icy-pilot-3111810/27/2022, 3:04 PM
curved-application-4565011/01/2022, 8:35 PM
astonishing-artist-7229011/03/2022, 12:19 AM