millions-journalist-34868
01/30/2022, 9:51 AMdamp-toddler-4614
02/08/2022, 8:17 AMRun docker run dockertest:dev
docker run dockertest:dev
shell: /usr/bin/bash -e {0}
env:
PULUMI_ACCESS_TOKEN: ***
AWS_ACCESS_KEY_ID: ***
AWS_SECRET_ACCESS_KEY: ***
Hello Pulumi World!
Unhandled exception. System.ComponentModel.Win32Exception (2): No such file or directory
at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at CliWrap.Utils.ProcessEx.Start() in /home/runner/work/CliWrap/CliWrap/CliWrap/Utils/ProcessEx.cs:line 65
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken cancellationToken) in /home/runner/work/CliWrap/CliWrap/CliWrap/Command.cs:line 373
at Pulumi.Automation.Commands.LocalPulumiCmd.RunAsyncInner(IList`1 args, String workingDir, IDictionary`2 additionalEnv, Action`1 onStandardOutput, Action`1 onStandardError, EventLogFile eventLogFile, CancellationToken cancellationToken)
at Pulumi.Automation.Commands.LocalPulumiCmd.RunAsync(IList`1 args, String workingDir, IDictionary`2 additionalEnv, Action`1 onStandardOutput, Action`1 onStandardError, Action`1 onEngineEvent, CancellationToken cancellationToken)
at Pulumi.Automation.LocalWorkspace.PopulatePulumiVersionAsync(CancellationToken cancellationToken)
at Pulumi.Automation.LocalWorkspace.CreateStackHelperAsync(InlineProgramArgs args, Func`4 initFunc, CancellationToken cancellationToken)
colossal-vr-62639
02/25/2022, 1:50 PMvar inputs = new Pulumi.InputList<Pulumi.Aws.Ec2.Subnet>();
Pulumi.Output<string[]> subnetIds = //project inputs
clean-alarm-24426
03/02/2022, 1:23 PMdamp-toddler-4614
03/03/2022, 3:47 AMvar subnet = new Ec2.Subnet(subnetName, new Ec2.SubnetArgs
{
CidrBlock = config.CidrBlock,
AvailabilityZone=config.AvailabilityZone,
VpcId = config.VpcId
});
but when the subnet is created in aws, it doesnt have the name defined. The SubnetArgs
also doesnt have a Name
property unlike most other resources. Is there a way I can specify the name?colossal-vr-62639
03/18/2022, 9:30 AMusing System.Collections.Generic;
using Pulumi;
using Pulumi.Aws.S3;
return await Deployment.RunAsync(async () =>
{
var outputs = new Dictionary<string, object?>();
var bucket = new Bucket("items", new BucketArgs { });
bucket.Arn.Apply(arn =>
{
outputs.Add("arn", arn); //here
return arn;
});
return outputs;
});
millions-journalist-34868
03/26/2022, 12:34 PMmillions-journalist-34868
03/27/2022, 12:18 AMInputList<string>
, I want to iterate on this list to create different resources. Does someone know how I can dod that ?eager-keyboard-30823
04/21/2022, 1:28 PMbland-waitress-855
05/13/2022, 5:10 PMvar credentials = ListRegistryCredentials.Invoke(new ListRegistryCredentialsInvokeArgs
{
ResourceGroupName = _azureConfig.ResourceGroupName,
RegistryName = $"{_azureConfig.Stack.ToLower()}services{_azureConfig.Env}cr"
});
This and all other calls work fine otherwise.
The mocks:
var mocks = new Mock<IMocks>();
mocks.Setup(m => m.NewResourceAsync(It.IsAny<MockResourceArgs>()))
.ReturnsAsync((MockResourceArgs args) => (args.Id ?? "", args.Inputs));
mocks.Setup(m => m.CallAsync(It.IsAny<MockCallArgs>()))
.ReturnsAsync((MockCallArgs args) => args.Args);
return Deployment.TestWithServiceProviderAsync<T>(mocks.Object, serviceProvider,new TestOptions { IsPreview = false });
bland-waitress-855
05/17/2022, 2:34 PMbland-waitress-855
05/17/2022, 2:35 PMmocks.Setup(m => m.CallAsync(It.IsAny<MockCallArgs>()))
.ReturnsAsync((MockCallArgs args) =>
{
var outputs = ImmutableDictionary.CreateBuilder<string, object>();
switch (args.Token)
{
case "azure-native:containerregistry:getRegistry":
outputs.Add("loginserver", "server");
break;
case "azure-native:containerregistry:listRegistryCredentials":
outputs.Add("username", "username");
// outputs.Add("passwords", new List<KeyValuePair<string,string>>
// {
// new("password","password")
// });
outputs.Add("passwords", "{\"test\",\"test\"}");
break;
case "azure-native:containerservice:listManagedClusterUserCredentials":
outputs.Add("kubeconfigs","[{ \"name\":\"test\", \"value\": \"test\"}]");
break;
}
return outputs;
});
swift-island-2275
05/30/2022, 3:47 PMworried-city-86458
05/30/2022, 7:18 PMeager-keyboard-30823
06/03/2022, 12:32 PMoption
type with Output
types in F#?clever-address-74879
06/06/2022, 12:30 PMclever-address-74879
06/06/2022, 12:31 PM${{ secrets.ConnectionString }}
in GitHub actions. Do I just set it as environment variables on the pulumi action and use that access that in the code?clever-address-74879
06/06/2022, 12:32 PMvar config = new Pulumi.Config();
var name = config.Require("ConnectionString");
late-ability-31616
06/11/2022, 8:24 PMOutput<string>
? I tried to do an assignment in the Apply
method, but even though the resource has been provisioned, it doesn't seem to execute:
var env = new CCloud.Environment(envName, args);
string envId = "Not set";
env.Id.Apply(v => envId = $"env-id = {v}");
File.WriteAllText(@"env-id.txt", envId);
File contains "Not set".
Is there some sort of Wait
that I need to wrap the Apply
call in?gentle-camera-53119
06/13/2022, 1:45 PMerror CS0234: The type or namespace name 'AzureAD' does not exist in the namespace 'Pulumi' (are you missing an assembly reference?) [/Users/XXXXX/XXX/pulumi/cazure/cazure.csproj
witty-laptop-88449
06/14/2022, 6:06 AMwitty-laptop-88449
06/14/2022, 6:07 AMwitty-laptop-88449
06/14/2022, 6:07 AMtall-librarian-49374
06/14/2022, 7:29 AMclever-address-74879
06/21/2022, 8:04 PMawait Pulumi.Deployment.RunAsync(() => { ... });
with workload identity federation. It only works with the "old" style Deployment.RunAsync<BigDayStack>();
clever-address-74879
06/21/2022, 8:05 PMhappy-grass-18954
06/26/2022, 8:51 PMpulumi stacks ls
to C#?gentle-airplane-84691
06/29/2022, 11:00 AMgentle-airplane-84691
06/29/2022, 11:02 AMgentle-airplane-84691
06/29/2022, 11:02 AMStatus=404 Code="EntityNotFound" Message="Queue does not exist"
gentle-airplane-84691
06/29/2022, 11:02 AMStatus=404 Code="EntityNotFound" Message="Queue does not exist"