echoing-postman-88590
04/14/2021, 12:02 PMunittest
. I have prepared the following 2 files: https://pastebin.com/qnykN38V and https://pastebin.com/vcWbyn3Y. On running python3 -m unittest test.py
I get: {<pulumi.output.Output object at 0x7ff78348bb80>: <pulumi.output.Output object at 0x7ff78343f670>, <pulumi.output.Output object at 0x7ff783497d00>: <pulumi.output.Output object at 0x7ff783458490>, <pulumi.output.Output object at 0x7ff7834a5730>: <pulumi.output.Output object at 0x7ff78346df40>, <pulumi.output.Output object at 0x7ff7834a51f0>: <pulumi.output.Output object at 0x7ff783404a00>, <pulumi.output.Output object at 0x7ff7834b0490>: <pulumi.output.Output object at 0x7ff783415af0>}
. How do I force pulumi to return the Output? Thanksbillowy-laptop-45963
04/14/2021, 1:42 PMFailed to load gRPC binary module because it was not installed for the current system
try running npm rebuild
errors?fierce-holiday-69805
04/14/2021, 1:49 PMfierce-holiday-69805
04/14/2021, 2:15 PMinterpolate
and whether it might get it (or something equivalent) at some point?damp-school-17708
04/14/2021, 4:34 PMacceptable-army-69872
04/14/2021, 5:50 PMnew pulumi.asset.AssetArchive({
".": new pulumi.asset.FileArchive("./lambda/CSVDownload"),
})
which is a typescript function that creates a zip of some lambda code. When I run that out of jenkins, I get errors
Error: failed to register new resource csvDownloadLambda [aws:lambda/function:Function]: 2 UNKNOWN: failed to compute archive hash: couldn't read archive path './lambda/CSVDownload': stat ./lambda/CSVDownload: no such file or directory
Which I think is something to do with jenkins workspaces and symlinks. While this may end up being a typescript specific question (and I should head to #typescript) I'm wondering if anyone else has hit similar bumps on running out of a ci pipeline, or any suggested paths to go down for resolving this. I can't be creating a new pattern.billowy-laptop-45963
04/14/2021, 7:08 PMfast-whale-9064
04/14/2021, 7:22 PMError: No such file or directory @ rb_file_s_stat - /usr/local/Cellar/pulumi/2.25.0/INSTALL_RECEIPT.json
Anyone else having the same issue?purple-train-14007
04/14/2021, 8:32 PMmany-psychiatrist-74327
04/15/2021, 1:44 AMcuddly-dusk-95227
04/15/2021, 5:16 AMpurple-train-14007
04/15/2021, 5:29 AMhandsome-state-59775
04/15/2021, 5:47 AMpulumi state list | grep protected | xargs -I{} pulumi state unprotect {}
?rhythmic-actor-14991
04/15/2021, 9:06 AM* the Kubernetes API server reported that "yyy/xx-ingress" failed to fully initialize or become live: Resource operation was cancelled for "xx-ingress"
* Ingress has at least one rule that does not target any Service. Field '.spec.rules[].http.paths[].backend.serviceName' may not match any active Service
microscopic-translator-37500
04/15/2021, 10:08 AMpulumi import -f import-resources.json
with the following file (abbreviated for clarity - the other resources import fine) I get an error.
{
"resources": [
{
"type": "gcp:compute/vPNTunnel:VPNTunnel",
"name": "vpn-tunnel",
"id": "projects/<prj>/regions/<region>/vpnTunnels/vpn-tunnel"
}
]
}
Here's the error:
Diagnostics:
pulumi:pulumi:Stack (network-testing):
error: update failed
gcp:compute:VPNTunnel (vpn-tunnel):
error: gcp:compute/vPNTunnel:VPNTunnel resource 'vpn-tunnel' has a problem: Required attribute is not set. Examine values at 'VPNTunnel.SharedSecret'.
error: one or more inputs failed to validate
Since I did not see a documented way to set this attribute I tried creating the object in my pulumi programming with the _import_
annotation like so:
vpn_tunnel = gcp.compute.VPNTunnel(
"vpn-tunnel",
name="vpn-tunnel",
shared_secret="redacted",
target_vpn_gateway="redacted",
opts=pulumi.ResourceOptions(
import_="projects/<prj>/regions/<region>/vpnTunnels/vpn-tunnel",
),
)
However, that resulted in an error as well (when running pulumi preview
):
warning: inputs to import do not match the existing resource; importing this resource will fail
= gcp:compute/vPNTunnel:VPNTunnel: (import)
[id=projects/<prj>/regions/<region>/vpnTunnels/vpn-tunnel]
[urn=urn:pulumi:testing::network::gcp:compute/vPNTunnel:VPNTunnel::vpn-tunnel]
[provider=urn:pulumi:testing::network::pulumi:providers:gcp::default_4_21_0::9400fa64-3729-3efb-bb74-7183febcae7b]
+ sharedSecret: "redacted"
How can I import that resource cleanly?red-football-97286
04/15/2021, 10:42 AMpulumi new <https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/pulumi_pki> --cwd .\test2\ --non-interactive
Seems easier with github as you can obtain a token, but is there a way with codecommit? Maybe passing secrets? Getting the error error: authentication required
.
I've added AWS keys as environment variables as well as in the credentials file.hundreds-receptionist-31352
04/15/2021, 11:52 AMbored-oyster-3147
04/15/2021, 2:33 PMproud-art-41399
04/15/2021, 2:36 PMdamp-school-17708
04/15/2021, 3:21 PMdamp-school-17708
04/15/2021, 5:38 PMpurple-train-14007
04/15/2021, 6:31 PMgreen-musician-49057
04/15/2021, 7:08 PMbrew upgrade pulumi
==> Upgrading 1 outdated package:
pulumi 2.24.1 -> 2.25.0
==> Upgrading pulumi 2.24.1 -> 2.25.0
==> Downloading <https://homebrew.bintray.com/pulumi-2.25.0.big_sur.bottle.1.tar.gz>
#=#=#
curl: (22) The requested URL returned error: 404 Not Found
Trying a mirror...
==> Downloading <https://ghcr.io/v2/homebrew/core/pulumi-2.25.0.big_sur.bottle.1.tar.gz>
==> Downloading from <https://github.com/-/v2/packages/container/package/homebrew%2Fcore%2Fpulumi-2.25.0.big_sur.bottle.1.tar.gz>
#=#=#
curl: (22) The requested URL returned error: 404
Error: Failed to download resource "pulumi"
Download failed: <https://ghcr.io/v2/homebrew/core/pulumi-2.25.0.big_sur.bottle.1.tar.gz>
purple-train-14007
04/15/2021, 7:23 PMwinget
? Microsoft just released their own packagemanagerpurple-train-14007
04/15/2021, 7:25 PMbroad-dog-22463
04/15/2021, 7:49 PMpurple-train-14007
04/15/2021, 7:50 PMbroad-dog-22463
04/15/2021, 7:50 PMbroad-dog-22463
04/15/2021, 7:51 PMpurple-train-14007
04/15/2021, 7:52 PMpurple-train-14007
04/15/2021, 7:52 PM