tall-monitor-77779
03/17/2020, 6:56 PMpulumi preview
has a --json
flag but pulumi up
doesn't, what did I miss?narrow-cat-84237
03/17/2020, 9:15 PMcalm-quill-21760
03/18/2020, 12:17 AMlet secretsToStore = {
"username": rdsInstance.username,
"password": password.result,
"engine": rdsInstance.engine,
"port": rdsInstance.port,
"dbname": rdsInstance.name,
"dbInstanceIdentifier": rdsInstance.identifier
};
const storedPassword = new aws.secretsmanager.SecretVersion(dbName + "_password", {
secretId: rotation.id,
secretString: JSON.stringify(secretsToStore)
});
The secretsToStore object ends up with a bunch of "Calling [toJSON] on an [Output<T>] is not supported" strings.
What's the proper way to handle this?famous-salesmen-28835
03/18/2020, 4:02 AMPreviewing update (pulumi-test):
pulumi:pulumi:Stack pulumi-test-pulumi-test Traceback (most recent call last):
pulumi:pulumi:Stack pulumi-test-pulumi-test File \"/root/.pulumi/bin/pulumi-language-python-exec\", line 14, in <module>
pulumi:pulumi:Stack pulumi-test-pulumi-test import pulumi
pulumi:pulumi:Stack pulumi-test-pulumi-test ImportError: No module named 'pulumi'
pulumi:pulumi:Stack pulumi-test-pulumi-test It looks like the Pulumi SDK has not been installed. Have you run pip install?
pulumi:pulumi:Stack pulumi-test-pulumi-test If you are running in a virtualenv, you must run pip install -r requirements.txt from inside the virtualenv.
pulumi:pulumi:Stack pulumi-test-pulumi-test error: an unhandled error occurred: Program exited with non-zero exit code: 1
pulumi:pulumi:Stack pulumi-test-pulumi-test 1 error; 6 messages
Diagnostics:
pulumi:pulumi:Stack (pulumi-test-pulumi-test):
Traceback (most recent call last):
File \"/root/.pulumi/bin/pulumi-language-python-exec\", line 14, in <module>
import pulumi
ImportError: No module named 'pulumi'
It looks like the Pulumi SDK has not been installed. Have you run pip install?
If you are running in a virtualenv, you must run pip install -r requirements.txt from inside the virtualenv.
error: an unhandled error occurred: Program exited with non-zero exit code: 1
If I go and check my python env then I am not getting any import error
root@b43ba04ea07e:/# /opt/ns/python-apps/resourcecreation/app-env/bin/python
Python 3.7.4 (default, Sep 2 2019, 20:44:09)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pulumi
>>>
In this I am not getting this error but I have created API which will call the CLI so I am executing my code on my machine
/opt/ns/python-apps/resourcecreation/app-env/bin/python /opt/ns/python-apps/resourcecreation/app-env/lib/python3.7/site-packages/resourcecreation/app.py
Then I am getting error
So Can any one tell me is it any way that while calling pulumi commands I point my python binary instead of taking machine default binary?faint-table-42725
03/18/2020, 4:30 AMfaint-table-42725
03/18/2020, 4:30 AMfamous-salesmen-28835
03/18/2020, 8:05 AMyou can set the PULUMI_PYTHON_CMD environment variable to python3
This I forgot to do it due to which I am getting these errorsfamous-salesmen-28835
03/18/2020, 8:09 AM- aws:s3:Bucket mytestbucketkmltest2 deleting
- aws:s3:Bucket mytestbucketkmltest2 deleting error: deleting urn:pulumi:pulumi-test::pulumi-test::aws:s3/bucket:Bucket::mytestbucketkmltest2: error deleting S3 Bucket (mytestbucketkmltest2): BucketNotEmpty: The bucket you tried to delete is not empty
- aws:s3:Bucket mytestbucketkmltest2 **deleting failed** error: deleting urn:pulumi:pulumi-test::pulumi-test::aws:s3/bucket:Bucket::mytestbucketkmltest2: error deleting S3 Bucket (mytestbucketkmltest2): BucketNotEmpty: The bucket you tried to delete is not empty
pulumi:pulumi:Stack pulumi-test-pulumi-test error: update failed
pulumi:pulumi:Stack pulumi-test-pulumi-test **failed** 1 error
So Any one any idea to delete forcefully from pulumirapid-lamp-57703
03/18/2020, 8:55 AM[Output]
public Output<ImmutableArray<string>> UploadedUri { get; set; } = Output.Create(ImmutableArray.Create<string>("123"));
Any tips or pointers? how do i get an array of things? I've seen dictionary before.. but not list/array.rapid-lamp-57703
03/18/2020, 12:17 PMwet-sunset-4939
03/18/2020, 2:11 PMacoustic-leather-88378
03/18/2020, 3:53 PM$ helm install postgres-operator <https://opensource.zalando.com/postgres-operator/charts/postgres-operator/postgres-operator-1.4.0.tgz> -f <https://opensource.zalando.com/postgres-operator/charts/postgres-operator/values-crd.yaml>
however, looking at https://www.pulumi.com/docs/guides/adopting/from_kubernetes/#provisioning-a-helm-chart and the available options I'm not sure how to achieve that? (Using the direct .tgz
reference)
The chart is not in a repo, see https://github.com/zalando/postgres-operator/issues/552#issuecomment-521193807bitter-dentist-28132
03/18/2020, 8:09 PMnpm ci
npm WARN prepare removing existing node_modules/ before installation
green-morning-1318
03/18/2020, 8:31 PM$ pulumi --help
error: program failed: missing project name
So when I run any pulumi command, regardless of whether I run the command in a folder with a proper Pulumi config I get the error missing project name
.bitter-zebra-93800
03/18/2020, 8:33 PMprehistoric-account-60014
03/18/2020, 9:15 PMacoustic-leather-88378
03/18/2020, 9:17 PM• UsingAm I missing something or is that how https://www.pulumi.com/docs/guides/adopting/from_kubernetes/#deploying-multiple-kubernetes-yaml-files works?it seems that the state is tied to the directory location of thek8s.yaml.ConfigGroup
. If the location of thefiles
changes it's seen as a state update (deletes and recreates). Is this by design or am I missing something? Doesn't that force a consistent location for the manifests?files
green-morning-1318
03/18/2020, 9:46 PMboundless-insurance-52858
03/18/2020, 10:42 PMgreen-morning-1318
03/19/2020, 2:17 AMDeleteBeforeReplace
, when set to true, ensures that this resource is deleted prior to replacement. It looks like it doesn’t do the same for a “_Create_”. In my case, I’m using an API Gateway on AWS and when I make changes to resources they should be deleted before creating them (otherwise you get an error). Is there a way to do that in Pulumi?bitter-dentist-28132
03/19/2020, 1:48 PMbitter-dentist-28132
03/19/2020, 1:49 PMrapid-lamp-57703
03/19/2020, 3:17 PMcool-egg-852
03/19/2020, 3:50 PM<p>The requested URL <code>/v1beta1/us-east1/linio/general-6133f72?alt=json&prettyPrint=false</code> was not found on this server. <ins>That's all we know.</ins>
when trying to apply an update to their node pool in GKE?few-processor-86645
03/19/2020, 4:04 PMsome-doctor-62800
03/19/2020, 4:25 PMhandsome-actor-1155
03/19/2020, 4:29 PMbig-potato-91793
03/19/2020, 5:45 PMastonishing-quill-88807
03/19/2020, 5:55 PMfast-dinner-32080
03/19/2020, 6:52 PM