brief-ram-15160
06/16/2022, 12:30 PMpulumi up
without specifying the --policy-pack
(e.g., using Env-var…)gifted-electrician-66436
06/16/2022, 1:40 PMPreviewing update (dev)
ilds` must be specified. Examine values at 'Project.MirrorTriggerBuilds'.
error: gitlab:index/project:Project resource 'my-project' has a problem: Missing required argument: "mirror": all of `import_url,mirror` must be specified. Examine values at 'Project.Mirror'.
error: gitlab:index/project:Project resource 'my-project' has a problem: Missing required argument: "only_mirror_protected_branches": all of `import_url,only_mirror_protected_branches` must be specified. Examine values at 'Project.OnlyMirrorProtectedBranches'.
error: gitlab:index/project:Project resource 'my-project' has a problem: Missing required argument: "mirror_overwrites_diverged_branches": all of `import_url,mirror_overwrites_diverged_branches` must be specified. Examine values at 'Project.MirrorOverwritesDivergedBranches'.
powerful-rain-97767
06/16/2022, 3:29 PMfrom typing import Any, Optional
from pulumi.dynamic import ResourceProvider, CreateResult, Resource
from pulumi import Input, ResourceOptions, Output, export
import pulumi_tls as tls
import pulumi
tls_provider = tls.Provider('tls_provider')
class WildcardProvider(ResourceProvider):
def create(self, inputs):
key = tls.PrivateKey("someNewKey", algorithm="RSA", opts=pulumi.ResourceOptions(provider=tls_provider))
outputs = {"private_key_pem": key}
return CreateResult(id_="foo", outs=outputs)
class Wildcard(Resource):
private_key: Output
def __init__(self, name: str, props: Any, opts: Optional[ResourceOptions] = None):
full_args = {"cert_pem": None, "private_key_pem": None, "ca_cert_pem": None, **props}
super().__init__(WildcardProvider(), name, full_args, opts)
my_wildcard = Wildcard("my-new-resource", {})
Logs:
I0616 14:08:49.440319 3760 provider_plugin.go:643] Provider[pulumi-python, 0x140008721e0].Check(urn:pulumi:localca::localca::pulumi-python:dynamic:Resource::my-new-resource) success: inputs=#1 failures=#0
I0616 14:08:49.440331 3760 step_generator.go:689] Planner decided to create 'urn:pulumi:localca::localca::pulumi-python:dynamic:Resource::my-new-resource' (inputs=map[__provider:{gASVSAMAAAAAAACMCmRpbGwuX2RpbGyUjAxfY3JlYXRlX3R5cGW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dTB1dJRSlCmBlC4=}])
I0616 14:08:49.440462 3760 step_executor.go:364] StepExecutor worker(-2): worker received chain for execution
I0616 14:08:49.440471 3760 step_executor.go:364] StepExecutor worker(-2): worker waiting for incoming chains
I0616 14:08:49.440478 3760 step_executor.go:364] StepExecutor worker(2): launching oneshot worker
I0616 14:08:49.440508 3760 snapshot.go:130] SnapshotManager: Beginning mutation for step `create` on resource `urn:pulumi:localca::localca::pulumi-python:dynamic:Resource::my-new-resource`
Type Name Status
+ pulumi:pulumi:Stack localca-localca creating..
+ └─ pulumi-python:dynamic:Resource my-new-resource creating
I0616 14:08:49.564438 3760 state.go:291] error copying .pulumi/stacks/localca.json.gz to .pulumi/stacks/localca.json.gz.bak: blob (key ".pulumi/stacks/localca.json.gz -> .pulumi/stacks/localca.json.gz.bak") (code=NotFound): NoSuchKey: The specified key does not exist.
status code: 404, request id: 9YQA6FZAQFJYR64M, host id: yXgNUIt03L09jr7kWkFkZsJB/1IWvVAGdDopL6vj5VpdDVAxItClPl/Vin0eJLfwUMi7vqcf77U=
I0616 14:08:49.625553 3760 state.go:297] error deleting source object after rename: .pulumi/stacks/localca.json.gz (blob (key ".pulumi/stacks/localca.json.gz") (code=NotFound): NotFound: Not Found
status code: 404, request id: 9YQ6GE6NZW8ZBENS, host id: nsmxOvwpUIGsaheHH1j2CsehZ+DrcJgF9Qs1IJoCvnKFKduVfkKTorVgv2XnS3jJmtid62MXVkI=) skipping
I0616 14:08:49.833128 3760 state.go:248] Saved stack localca checkpoint to: .pulumi/stacks/localca.json (backup=.pulumi/stacks/localca.json.bak)
I0616 14:08:49.833284 3760 step_executor.go:364] StepExecutor worker(2): applying step create on urn:pulumi:localca::localca::pulumi-python:dynamic:Resource::my-new-resource (preview false)
I0616 14:08:49.833319 3760 registry.go:174] GetProvider(urn:pulumi:localca::localca::pulumi:providers:pulumi-python::default::01ef631b-e17e-43f9-b68d-02b250e6f04e)
I0616 14:08:49.833356 3760 provider_plugin.go:744] Provider[pulumi-python, 0x140008721e0].Create(urn:pulumi:localca::localca::pulumi-python:dynamic:Resource::my-new-resource) executing (#props=1)
I0616 14:08:49.833393 3760 rpc.go:74] Marshaling property for RPC[Provider[pulumi-python, 0x140008721e0].Create(urn:pulumi:localca::localca::pulumi-python:dynamic:Resource::my-new-resource).inputs]: __provider={gASVSAMAAAAAAACMCmRpbGwuX2RpbGyUjAxfY3JlYXRlX3R5cGWUk5QoaACMCl9sb2FkX3R5cGWUk5SMBHR5cGWUhZRSlIwQV2lsZGNhcmRQcm92aWRlcpSMFnB1bHVtaS5keW5hbWljLmR5bmFtaWOUjBBSZXNvdXJjZVByb3ZpZGVylJOUhZR9lCiMB19fZG9jX1+UTowKX19tb2R1bGVfX5SMCF9fbWFpbl9flIwNX19zbG90bmFtZXNfX5RdlIwGY3JlYXRllGgAjBBfY3JlYXRlX2Z1bmN0aW9ulJOUKGgAjAxfY3JlYXRlX2NvZGWUk5QoSwJLAEsASwVLB0tDQzZ0AKABZAGhAX0CdABqAmQCZAN0A3wCdARkBI0CZAWNA30DZAZ8A2kBfQR0BWQHfARkCI0CUwCUKE6MDHRsc19wcm92aWRlcpSMCnNvbWVOZXdLZXmUjANSU0GUjAhwcm92aWRlcpSMBnBhcmVudJSGlIwJYWxnb3JpdGhtlIwEb3B0c5SGlIwLcHJpdmF0ZV9rZXmUjANmb2+UjANpZF+UjARvdXRzlIaUdJQojAN0bHOUjAhQcm92aWRlcpSMClByaXZhdGVLZXmUjA9SZXNvdXJjZU9wdGlvbnOUaAqMDENyZWF0ZVJlc3VsdJR0lCiMBHNlbGaUjAZpbnB1dHOUaBmMA2tleZSMB291dHB1dHOUdJSMOS9Vc2Vycy9jbWFydGVlcGFudHMvUHljaGFybVByb2plY3RzL2xvY2FsY2EvLi9fX21haW5fXy5weZRoE0sRQwgAAQoBGAEIAZQpKXSUUpR9lIwIX19uYW1lX1+UaBBzaBNOTnSUUpR9lH2UKIwPX19hbm5vdGF0aW9uc19flH2UjAxfX3F1YWxuYW1lX1+UjBdXaWxkY2FyZFByb3ZpZGVyLmNyZWF0ZZR1hpRiaDcojAxDcmVhdGVSZXN1bHSUaAloLJOUjA9SZXNvdXJjZU9wdGlvbnOUjA9wdWx1bWkucmVzb3VyY2WUaCuTlIwQUmVzb3VyY2VQcm92aWRlcpRoC4wDdGxzlGgAjA5faW1wb3J0X21vZHVsZZSTlIwKcHVsdW1pX3Rsc5SFlFKUdTB1dJRSlCmBlC4=}
I0616 14:08:49.840313 3760 provider_plugin.go:1586] provider received rpc error `Unknown`: `Exception calling application: Program run without the Pulumi engine available; re-run using the `pulumi` CLI`
I0616 14:08:49.840345 3760 provider_plugin.go:1589] rpc error kind `Unknown` may not be recoverable
I0616 14:08:49.840355 3760 provider_plugin.go:800] Provider[pulumi-python, 0x140008721e0].Create(urn:pulumi:localca::localca::pulumi-python:dynamic:Resource::my-new-resource) failed: Exception calling application: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
Type Name Status Info
+ pulumi:pulumi:Stack localca-localca creating..
+ └─ pulumi-python:dynamic:Resource my-new-resource **creating failed** error: Exception calling application: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
I0616 14:08:49.973967 3760 state.go:291] error copying .pulumi/stacks/localca.json.gz to .pulumi/stacks/localca.json.gz.bak: blob (key ".pulumi/stacks/localca.json.gz -> .pulumi/stacks/localca.json.gz.bak") (code=NotFound): NoSuchKey: The specified key does not exist.
status code: 404, request id: 9YQ5WSE9S77HGJN7, host id: 2DreBH/zBLA7obo9PFGQi6edUO0fxgkU13VBgjC2Sjy0i0gRT3BGfsNHES89YwHc7Tv4K3sNd8c=
I0616 14:08:50.028370 3760 state.go:297] error deleting source object after rename: .pulumi/stacks/localca.json.gz (blob (key ".pulumi/stacks/localca.json.gz") (code=NotFound): NotFound: Not Found
status code: 404, request id: K73R852D4NM5HJYM, host id: NU+hZF0GchzOkeIX7n5LiioTpf/ehXB74Sbyp916x3gV8ETV8o5okiorNed6nevbz8Yji3jjEWU=) skipping
I0616 14:08:50.207675 3760 state.go:248] Saved stack localca checkpoint to: .pulumi/stacks/localca.json (backup=.pulumi/stacks/localca.json.bak)
I0616 14:08:50.207839 3760 step_executor.go:364] StepExecutor worker(2): step create on urn:pulumi:localca::localca::pulumi-python:dynamic:Resource::my-new-resource failed with an error: Exception calling application: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
I0616 14:08:50.207883 3760 step_executor.go:364] StepExecutor worker(2): step create on urn:pulumi:localca::localca::pulumi-python:dynamic:Resource::my-new-resource failed, signalling cancellation
I0616 14:08:50.207933 3760 deployment_executor.go:293] deploymentExecutor.Execute(...): context finished: context canceled
I0616 14:08:50.207949 3760 step_executor.go:364] StepExecutor worker(-1): StepExecutor.waitForCompletion(): waiting for worker threads to exit
I0616 14:08:50.207981 3760 step_executor.go:364] StepExecutor worker(-2): worker exiting due to cancellation
I0616 14:08:50.207998 3760 step_executor.go:364] StepExecutor worker(-1): StepExecutor.waitForCompletion(): worker threads all exited
I0616 14:08:50.208523 3760 deployment_executor.go:303] deploymentExecutor.Execute(...): step executor has completed
+ pulumi:pulumi:Stack localca-localca creating.. error: update failed
I0616 14:08:50.208781 3760 deployment_executor.go:161] deploymentExecutor.Execute(...): exiting provider canceller
I0616 14:08:50.214509 3760 langruntime_plugin.go:193] langhost[python].Run(pwd=/Users/cmarteepants/PycharmProjects/localca,program=.,...,dryrun=false) failed: err=error reading from server: read tcp 127.0.0.1:60993->127.0.0.1:60992: use of closed network connection
I0616 14:08:50.214547 3760 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = grpc: the client connection is closing
I0616 14:08:50.217677 3760 ignore.go:44] Explicitly ignoring and discarding error: 1 error occurred:
* operation not permitted
+ pulumi:pulumi:Stack localca-localca **creating failed** 1 error
+ └─ pulumi-python:dynamic:Resource my-new-resource **creating failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (localca-localca):
error: update failed
pulumi-python:dynamic:Resource (my-new-resource):
error: Exception calling application: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
quick-airport-30353
06/16/2022, 7:53 PMboundless-painter-62427
06/17/2022, 2:04 AMmany-spring-73557
06/17/2022, 2:15 AMpulumi up
, it starts off with completing deletion from previous update
and tries to delete the VPC, so it never deletes the dependent resources.
How do I get pulumi to delete the other resources first, so it can complete deleting the VPC?straight-sunset-92336
06/17/2022, 7:43 AMconst myfirstcustomresource= new FirstFunction(functionname, { resourcegroupname: MyResourceGroupName });
const mysecondresource = new Getkeys("keyresource", { resourcegroupname: MyResourceGroupName, keysname: functionname}, { dependsOn: [myfirstcustomresource] })
The deployment tries to create the second resource before the first one is created:
Error: invocation of azure-nativeweblistWebAppHostKeys returned an error: request failed /subscriptions/xxxxx/resourceGroups/<resourcegroupname>/providers/Microsoft.Web/sites/<functionname>/host/default/listkeys: autorest/azure: Service returned an error. Status=404 Code="ResourceNotFound" Message="The Resource 'Microsoft.Web/sites/<functionname>' under resource group <resourcegroupname> was not found.
Any good ideas what could be causing this?some-caravan-90203
06/17/2022, 10:38 AMpulumi.dynamic.Resource
and provider for that. I was able to get create/update/read sort of working.
Now I am looking to cross-reference already existing API resources to the pulumi managed ones. Is the invoke
https://github.com/pulumi/pulumi/pull/369 functionality available for dynamic providers? I would appreciate any help or just documentation pointers on how to approach this.
Thank you!echoing-postman-88590
06/17/2022, 11:32 AMkubernetes.apiextension.CustomResource
but the inputs should be read from a kubernetes yaml. Any ideas? Thanksquaint-pillow-20530
06/17/2022, 11:33 AMelegant-fountain-6809
06/17/2022, 1:22 PMattachedDisks
property?important-australia-792
06/17/2022, 3:39 PMbetter-pencil-34948
06/17/2022, 5:39 PMshy-hydrogen-95871
06/17/2022, 9:43 PMcareful-oil-55681
06/17/2022, 11:40 PMcareful-oil-55681
06/17/2022, 11:40 PMwide-fall-7466
06/18/2022, 9:57 AMsettings/org-tokens
page in the org settings panel, does this mean I need to upgrade to the enterprise version to use the organization level token properly?
Can team plan users only be managed using account tokens, and how should we distinguish between multiple organizations?
Thanks ❤️clean-dentist-2515
06/19/2022, 3:58 PM1. Open your Pulumi program on a non-arm64 based computer
2. Update your packages (pip / nuget / npm / go) and runpulumi up
3. Once the update is complete, you can open the new, updated Pulumi program on your arm64-based systemI booted up a
--platform=linux/amd64
docker container and cloned my project, installed pulumi
but actually I am not sure what to do next
I have installed the old version of the provider… do I install the latest version too?
and then if I pulumi up
it can get state using the old provider, and will update it using latest version?
not really clear what the fix is hereincalculable-monkey-35668
06/19/2022, 10:49 PMadorable-computer-41765
06/20/2022, 11:32 AMsilly-city-21687
06/20/2022, 3:59 PMstale-iron-26898
06/20/2022, 4:18 PMuser_password = RandomPassword().result
the variable ‘user_password’ I sent to my dynamic resource which only create a query with the ‘user_password’ inside (Eventually is a string ) the problem is that the value is the Object itself <pulumi.output.Output at 0x7ffe81ffe6d0>
is there a way to export the value i get from randomPassword into a string in run time? 😢
Thanks!ambitious-agent-35343
06/20/2022, 4:40 PMbright-horse-50102
06/20/2022, 6:00 PMunknown
error when trying to destroy a stack
Previewing destroy (beta)
View Live: <https://app.pulumi.com/snip/snip/snip/previews/snip>
Type Name Plan
- pulumi:pulumi:Stack snip delete
- ├─ kubernetes:<http://networking.k8s.io/v1:Ingress|networking.k8s.io/v1:Ingress> snip delete
- snip (36 items)
Outputs:
- snip
Resources:
- 37 to delete
Do you want to perform this destroy? yes
Destroying (snip)
View Live: <https://app.pulumi.com/snip/snip/snip/updates/46>
Type Name Status Info
pulumi:pulumi:Stack snip **failed** 1 error
- └─ kubernetes:<http://networking.k8s.io/v1:Ingress|networking.k8s.io/v1:Ingress> snip **deleting failed** 1 error
Diagnostics:
kubernetes:<http://networking.k8s.io/v1:Ingress|networking.k8s.io/v1:Ingress> (snip):
error: unknown
pulumi:pulumi:Stack (snip):
error: update failed
Resources:
Duration: 18s
shy-dentist-79386
06/20/2022, 10:23 PMshy-dentist-79386
06/21/2022, 7:41 AMsparse-arm-65382
06/21/2022, 7:59 AMlimited-army-96747
06/21/2022, 10:34 AMdamp-honey-93158
06/21/2022, 1:00 PMmost-mouse-38002
06/21/2022, 1:56 PMflux bootrrap
within a Pulumi Command Pulumi reports errors when there is no error running the underlying command. I don’t really understand why, does Pulumi assume errors whilst receiving multiple lines of output?