wide-boots-22590
02/20/2021, 11:47 AMearly-intern-90238
02/20/2021, 7:51 PMearly-intern-90238
02/20/2021, 7:51 PMearly-intern-90238
02/20/2021, 8:55 PMcrooked-exabyte-92919
02/20/2021, 9:42 PMchilly-night-36370
02/21/2021, 9:39 AMwet-noon-14291
02/21/2021, 11:13 PMstraight-cartoon-24485
02/22/2021, 5:07 AMbroad-hairdresser-1495
02/22/2021, 11:08 AMD:\GIT\GIT\git_lab\pre-prod_system_test\pulumi\PyClient>python myPulumiClient.py
Traceback (most recent call last):
File "D:\GIT\GIT\git_lab\pre-prod_system_test\pulumi\PyClient\myPulumiClient.py", line 61, in <module>
stack = auto.create_or_select_stack(stack_name=stack_name,
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 398, in create_or_select_stack
return _inline_source_stack_helper(stack_name, program, project_name, Stack.create_or_select, opts) # type: ignore
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 416, in _inline_source_stack_helper
return init_fn(stack_name, ws)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\stack.py", line 188, in create_or_select
return Stack(stack_name, workspace, StackInitMode.CREATE_OR_SELECT)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\stack.py", line 214, in __init__
workspace.create_stack(name)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 205, in create_stack
self._run_pulumi_cmd_sync(args)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\local_workspace.py", line 276, in _run_pulumi_cmd_sync
return _run_pulumi_cmd(args, self.work_dir, envs, on_output)
File "C:\Python\Python391\lib\site-packages\pulumi\x\automation\cmd.py", line 75, in _run_pulumi_cmd
os.remove(stderr_file.name) <<<<
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\romlaz\\AppData\\Local\\Temp\\tmp8o_qs82u'
file is created but cant delete it self due to it is still open by another process.bitter-river-54082
02/22/2021, 12:24 PMdependsOn: [
ec2.servicesInstance,
The instance's dependencies :
dependsOn: [
vpc.vpc,
Why the script is not awaiting execution until all vpc resources are up? How can I fix it?important-pizza-29356
02/22/2021, 2:44 PMpulumi up
)? https://www.pulumi.com/docs/reference/pkg/gcp/organizations/project/millions-furniture-75402
02/22/2021, 2:55 PMPulumi.yaml
vs interactive pulumi stack tag
commands?big-apartment-95438
02/22/2021, 3:05 PM// Create a Kubernetes Namespace
const argoNamespace = new k8s.core.v1.Namespace("argo", {}, {provider: clusterProvider});
Actual name: argo-fmzcuekxable-dinner-12335
02/22/2021, 3:50 PMvar functionResource = new Pulumi.AzureNextGen.Web.V20200601.WebAppFunction("functionResource", new Pulumi.AzureNextGen.Web.V20200601.WebAppFunctionArgs
{
Config = {
"bindings"{
{ "cardinality", "many" },
{ "connection", "RootManageSharedAccessKey" },
{ "consumerGroup", "$Default" },
{ "dataType", "" },
{ "direction", "in" },
{ "eventHubName", datadogEventHub.Name },
{ "name", "eventHubMessages" },
{ "type", "eventHubTrigger" }
},
Files =
{
{
"index.js", "<https://github.com/DataDog/datadog-serverless-functions/blob/master/azure/activity_logs_monitoring/index.js>"
},
},
FunctionName = $"{datadogFunctionApp.Name}/EventHubTrigger-DataDog",
Name = $"{datadogFunctionApp.Name}/EventHubTrigger-DataDog",
ResourceGroupName = RGName
});
damp-tiger-87899
02/22/2021, 4:20 PMable-dinner-12335
02/22/2021, 8:18 PMvar blob = new Blob($"zip-{reg}", new BlobArgs
{
StorageAccountName = storageAccount.Name,
StorageContainerName = container.Name,
Type = "Block",
Source = new FileArchive("./functionapp"),
Name = "function_sourcecode"
});
The first run creates the block blob as expected. Fails on subsequent runs with:
error: Running program 'C:\Repos\Pulumi\deployment\bin\Debug\netcoreapp3.1\deployment.dll' failed with an unhandled exception:
System.InvalidOperationException: Expected Pulumi.AssetOrArchive but got System.String deserializing Pulumi.Azure.Storage.Blob.source
at Pulumi.Serialization.Converter.ConvertObject(String context, Object val, Type targetType)
at Pulumi.Serialization.Converter.ConvertValue(String context, Value value, Type targetType, ImmutableHashSet`1 resources)
at Pulumi.Deployment.CompleteResourceAsync(Resource resource, Boolean remote, Func`2 newDependency, ResourceArgs args, ResourceOptions options, ImmutableDictionary`2 completionSources)
at Pulumi.Deployment.Runner.<>c__DisplayClass9_0.<<WhileRunningAsync>g__HandleCompletion|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Pulumi.Deployment.Runner.WhileRunningAsync()mammoth-honey-6147
02/22/2021, 8:45 PMsparse-dog-88757
02/22/2021, 8:46 PMstocky-student-96739
02/22/2021, 9:16 PMlemon-machine-35564
02/23/2021, 12:24 AMpulumi up
go looking for ts files when you run it?big-apartment-95438
02/23/2021, 8:10 AMcolossal-potato-56488
02/23/2021, 1:36 PMredis
and a postgres
service on a custom kubernetes cluster (I’ve only found it for AWS or Azure). Is there any? Thanks!chilly-hospital-92934
02/23/2021, 1:42 PMacc1 = alicloud.Provider("acc1", region="cn-beijing")
__opts__=pulumi.ResourceOptions(provider=acc1) to object of resource.
How to do similar solution to our own resource providers?big-apartment-95438
02/23/2021, 3:47 PMrefined-journalist-70469
02/23/2021, 4:22 PMlemon-machine-35564
02/23/2021, 5:27 PMerror: resource 'urn:pulumi:development-jeffrichie::service::pulumi:pulumi:StackReference::vpc/development' registered twice (read and read)
What is the recommended pattern when working in a relatively large project where you need to reference things like VPC CIDR’s, etc all over the place?proud-pizza-80589
02/23/2021, 5:45 PMbetter-secretary-59658
02/23/2021, 6:49 PMwide-parrot-89490
02/23/2021, 8:29 PMpreview
and up
individually if needed (it's a large stack, sometimes we know exactly what changes we want and expect). I thought I could do that using ComponentResources in combination with pulumi up|preview --target [--target-dependents]
, but so far no luck: when I pulumi preview --target arn:of:my:ComponentResource
pulumi only looks at the ComponentResource
and ignores its children.
Am I trying to use the wrong tool here? Is there a way to do a partial `preview`/`up` in a stack by selecting a group or component, without having to point to every particular resource?colossal-australia-65039
02/23/2021, 9:02 PM