hundreds-businessperson-87013
07/14/2021, 8:10 PMancient-eve-13947
07/15/2021, 10:25 AMminiature-leather-70472
07/15/2021, 10:26 AMproud-easter-54321
07/15/2021, 11:42 AMpulumi up
?limited-mouse-98047
07/15/2021, 1:49 PM--target-dependents
has no effect. I must be missing something here.little-market-63455
07/15/2021, 2:11 PMdestroy
. I am not using the automation API and wondering if there is a property somewhere that tells me what mode is the CLI running under like up
, destroy
, refresh
, preview
and so on. I check pulumi.runtime
but it doesn't seem to expose this. I am probably not doing it the correct way, maybe dynamic providers?gorgeous-eye-54797
07/15/2021, 2:33 PMgorgeous-eye-54797
07/15/2021, 2:34 PMgorgeous-eye-54797
07/15/2021, 2:34 PMsparse-apartment-71989
07/15/2021, 3:09 PMancient-eve-13947
07/15/2021, 3:42 PMvictorious-exabyte-70545
07/15/2021, 4:34 PMsparse-tomato-5980
07/15/2021, 7:27 PMpulumi config --config-file ./Pulumi.testing.yaml get --path artifacts.analyzer_dispatcher
error: configuration key 'artifacts.analyzer_dispatcher' not found for stack 'jun10'
the question: why is it looking at my currently-selected stack jun10
and not the config file I specified?
according to the man page:
--config-file string Use the configuration values in the specified file rather than detecting the file name
sparse-tomato-5980
07/15/2021, 7:28 PMpulumi config --config-file
without a get
works fine and correctly looks at the specified fileprehistoric-activity-61023
07/15/2021, 11:20 PMcreamy-raincoat-13266
07/15/2021, 11:53 PM#!/bin/bash -eo pipefail
if [ 16.0.2 == "latest" ]; then
curl -L <https://get.pulumi.com/> | bash -s
else
curl -L <https://get.pulumi.com/> | bash -s -- --version 16.0.2
fi
# Add to PATH
echo 'export PATH=${HOME}/.pulumi/bin:$PATH' >> $BASH_ENV
source $BASH_ENV
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6922 100 6922 0 0 87647 0 --:--:-- --:--:-- --:--:-- 88743
=== Installing Pulumi v16.0.2 ===
+ Downloading <https://get.pulumi.com/releases/sdk/pulumi-v16.0.2-linux-x64.tar.gz>...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 403
error: failed to download <https://get.pulumi.com/releases/sdk/pulumi-v16.0.2-linux-x64.tar.gz>
creamy-raincoat-13266
07/15/2021, 11:53 PMable-doctor-68496
07/16/2021, 12:37 AMinfrastructure
and application
. The infrastructure
project has a single stack: internal
. The application
project has a single stack: dev-aws
. When I do pulumi stack ls
in either project, I see both stacks:
$ pulumi stack ls
NAME LAST UPDATE RESOURCE COUNT
dev-aws n/a n/a
internal* n/a n/a
That is not what I expect. I can also select (e.g.) the dev-aws
stack when I’m in the infrastructure
project. This is clearly a mistake, but it will create a new dev-aws
stack within the infrastructure
project when I run pulumi up
from the infrastructure
project with the dev-aws
stack selected. Why is it doing that? Is there some other recommended way to manage multiple projects with the S3 backend?dry-beach-58138
07/16/2021, 1:28 PMdry-beach-58138
07/16/2021, 1:29 PMbig-potato-91793
07/16/2021, 2:22 PMfull-artist-27215
07/16/2021, 2:43 PMpulumi.Archive
? Alternatively, is there an existing pattern for expanding a zip/tarball archive into an S3 bucket? I have the assets of a website in a tarball and would like to decompress it into an S3 bucket that's serving our web content (that is, I do not want to simply upload the tarball as a single bucket object). Thanks in advance.hallowed-microphone-8235
07/16/2021, 4:32 PMmelodic-tent-12974
07/16/2021, 8:16 PMpulumi preview
on our master, it is now showing a difference in GRANTs. Wondering if this is anything to worry about, and/or is a known change.billions-battery-73370
07/17/2021, 4:37 AM<http://app.pulumi.com|app.pulumi.com>
is currently infinitely loading on chrome - tried clearing cookies, using incognito and safari still getting no page load
2. I’ve recently switched from storing stack state in my own s3 bucket to using the pulumi app under a new org
a. Not sure if its related but on the new stack I’m unable use aws.Provider
to assume a role into another account. Just get NoCredentialsProvider
error. I’ve literally tried copying code from the other stack and its just not working.
i. env vars are good ✅
ii. role to be assumed exists ✅
iii. access keys are trusted to assume the role ✅
iv. then I’ve tried multiple accounts and multiple roles 🙅
b. is there something different about how credentials are handled when the stack is hosted on app.pulumi.com vs own s3?
c. issue here https://github.com/pulumi/pulumi/issues/7552
Context: I’m currently in the process of assessing pulumi for use with my team would love to get these first steps unblocked asap so can test k8s deployments across multiple accountsbored-monitor-99026
07/18/2021, 12:41 PMpulumi up
post-processing stage( i.e. my outs
has some errors)
now, the resources has successfully created but that doesn't show up in my pulumi Resources.freezing-air-90947
07/18/2021, 7:06 PMbillions-battery-73370
07/18/2021, 11:38 PMroot
tsconfig.json
\_packages
\_ cloud
\_ tsconfig.json
|_ Pulumi.yaml
|_ infra
\_ index.ts
\_ cluster
\_ tsconfig.json
|_ Pulumi.yaml
|_ infra
\_ index.ts
In this structure we currently share typings and utilities from cloud package (to say cluster package) using @package/cloud
. The package tsconfigs reference the root tsconfig. Path aliases are working for all other typescript parts of the application and are defined in the root tsconfig. Can’t seem to get this working with pulumi though, anyone got an example of this they can share?famous-leather-94346
07/19/2021, 7:10 AMpulumi config set
changes only local file but does nothing with the stack. pulumi up
then changes the configuration but also starts a deployment, which is not desired in my use case. Thx!hundreds-businessperson-87013
07/19/2021, 8:05 AM