bored-activity-40468
04/23/2022, 6:52 PMconfig.Add("pulumi:disable-default-providers[0]", new ConfigValue("aws", false));
proud-cricket-86351
04/24/2022, 10:26 AMbright-receptionist-28471
04/25/2022, 11:01 PMabundant-solstice-21589
04/26/2022, 6:29 AMconfig:
myNamepace:myStorage:
name: myStorageName
size: 50
I have tried the following:
jsonString := `{"name": "test", "size": 100}`
err = stack.SetConfig(ctx, "myNamepace:myStorage", auto.ConfigValue{
Value: jsonString,
Secret: false,
})
I got the following result which is not what I want:
config:
myNamepace:myStorage: '{"name": "test", "size": 100}'
proud-cricket-86351
04/28/2022, 11:40 AMgreat-arm-54759
04/30/2022, 3:26 PMfailed to create stack: exit status 255
code: 255
stdout:
stderr: Logging in using access token from PULUMI_ACCESS_TOKEN
error: getting user info from <http://localhost:4566/project-gaia>: [404] <?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>api/user</Key>
<RequestID>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</RequestID>
</Error>
Ps: Using with pulumi new
, it worked wellproud-cricket-86351
05/03/2022, 10:45 AMfull-artist-27215
05/03/2022, 9:38 PMstderr: error: could not create stack: [404] Not Found: Organization 'grapl' not found
victorious-tomato-90057
05/05/2022, 2:12 AMafter
hook during the tests?future-refrigerator-88869
05/05/2022, 9:46 PMpulumi stack ls
commandflaky-school-82490
05/11/2022, 9:23 AMfast-easter-23401
05/13/2022, 8:46 PMproud-cricket-86351
05/17/2022, 2:05 PMproud-cricket-86351
05/17/2022, 2:07 PMproud-cricket-86351
05/17/2022, 2:09 PMproud-cricket-86351
05/17/2022, 2:12 PMproud-cricket-86351
05/17/2022, 2:12 PMproud-cricket-86351
05/17/2022, 2:12 PMproud-cricket-86351
05/17/2022, 2:12 PMdamp-toddler-4614
05/20/2022, 6:59 AMprovided project name "org-project" doesn't match Pulumi.yaml
var pulumiFunction = PulumiFn.Create(() => CreateComposites(args, resolvedOutputs, GetProvider(args)));
var inlineProgramArgs = new InlineProgramArgs(ProjectType.ToString(), args.StackName, pulumiFunction);
inlineProgramArgs.ProjectSettings.Name = $"{args.PulumiOrg.ToLower()}/{ProjectType}";
proud-cricket-86351
05/26/2022, 3:35 PM/**
* Installs a plugin in the Workspace, for example to use cloud providers like AWS or GCP.
*
* @param name the name of the plugin.
* @param version the version of the plugin e.g. "v1.0.0".
* @param kind the kind of plugin e.g. "resource"
*/
installPlugin(name: string, version: string, kind?: string): Promise<void>
What is the plugin in this case? Can i compare it to a npm package?
So for example a npm dependency in package json: ‘pulumi/aws”: “^5.4.0,’ dependency. What are exactly the use cases for using the function above from the automation API?salmon-account-74572
05/31/2022, 6:46 PMpulumi up
and remove it on pulumi destroy
). Does that sound accurate, or is there a better way of approaching this sort of scenario?prehistoric-london-9917
06/01/2022, 11:59 PMasync
function), I get a weird behaviour where one of the providers seems to be trying to assume the wrong role.
I suspect it’s some sort of race condition where one of the threads gets to the provider first, assumes the right role, and is fine. Then the next thread comes along, but instead of a new provider, it’s using the original one, and I get STS errors about assuming the wrong role.
I suppose I can try waiting for each deployment to finish, but it’d be nice if they can run at the same time. Any thoughts?most-lighter-95902
06/03/2022, 8:29 PMmost-lighter-95902
06/03/2022, 8:29 PMmost-lighter-95902
06/03/2022, 8:30 PMkubernetes:core/v1:Namespace 8d4a3669-8adb-412e-8498-17a30d0bce76 creating error: configured Kubernetes cluster is unreachable: unable to load schema information from the API server: Get "<https://XXXXXXXXXXXXXXX.gr7.us-west-1.eks.amazonaws.com/openapi/v2?timeout=32s>": getting credentials: exec: executable aws not found
curved-morning-41391
06/07/2022, 6:26 PMlimited-wolf-97785
06/09/2022, 8:03 AMprehistoric-london-9917
06/11/2022, 12:06 AMerror: Unhandled exception: Error: Detected multiple versions of '@pulumi/pulumi' in use in an inline automation api program.
I can’t sort out where it’s coming from because as near as I can tell, all the Pulumis are on the same version. I’ve looked for all pulumi
directories in node_modules
and got the version out of them.
$ find . -name "pulumi" -type d -exec cat {}/version.js \;
"use strict";
// Copyright 2016-2018, Pulumi Corporation.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// <http://www.apache.org/licenses/LICENSE-2.0>
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "3.34.1";
//# sourceMappingURL=version.js.map"use strict";
// Copyright 2016-2018, Pulumi Corporation.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// <http://www.apache.org/licenses/LICENSE-2.0>
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "3.34.1";
//# sourceMappingURL=version.js.map%
$ pulumi version
v3.34.1
yarn.lock
also seems to be resolving correctly:
"@pulumi/pulumi@^3.0.0":
version "3.34.1"
resolved "<https://registry.yarnpkg.com/@pulumi/pulumi/-/pulumi-3.34.1.tgz#55f040fe5e02d38837e90cb69481c500b8e879f7>"
integrity sha512-Lnwc9aOnPuEL/2QWt6YYTkMO6VVWwrt+OO42AxQnhpiZkmGr2ujaIpX30U+7l1CctnszW+eKYknbjO7K+ZvIvg==
dependencies:
"@grpc/grpc-js" "~1.3.8"
The only reference to this error I can find is here: https://github.com/pulumi/pulumi/issues/7333 (and a link through to the original ticket that caused that check), but I didn’t get much help there.
I’m not sure how to track this down since the stack trace isn’t giving me much else to go on.worried-helmet-23171
06/14/2022, 12:28 AM