proud-pizza-80589
04/20/2021, 12:35 PMbroad-dog-22463
04/20/2021, 12:35 PMbroad-dog-22463
04/20/2021, 12:35 PMproud-pizza-80589
04/20/2021, 12:36 PM"dependencies": {
"@pulumi/kubernetes": "3.0.0",
"@pulumi/kubernetesx": "0.1.6",
"@pulumi/pulumi": "3.0.0",
"@pulumi/cloudflare": "3.0.0"
}
broad-dog-22463
04/20/2021, 12:36 PMproud-pizza-80589
04/20/2021, 12:37 PMbroad-dog-22463
04/20/2021, 12:37 PMbroad-dog-22463
04/20/2021, 12:37 PMlimited-rainbow-51650
04/20/2021, 12:38 PMproud-pizza-80589
04/20/2021, 12:39 PMbroad-dog-22463
04/20/2021, 12:39 PMproud-pizza-80589
04/20/2021, 12:40 PMchilly-hairdresser-56259
04/20/2021, 3:03 PMImageName = blah:1
it appears that Pulumi appends a dynamic hash. Is there a way to override?bumpy-summer-9075
04/20/2021, 3:31 PMpulumi import
?
The way I do it right now is to create a fake resource in my code, run pulumi preview
and get the string from there, it's not great but it works.tall-shoe-66375
04/20/2021, 3:45 PMerror: [ERR] failed to create the kubernets cluster: DatabaseNetworkLookupError: Failed to lookup a network within the internal database
This is my code to create the Kubernetes Cluster on Civo
export const kluster = new civo.KubernetesCluster("poc-k8s",
{
name: "Civo PoC GitOps",
kubernetesVersion: config.civo.k3version,
numTargetNodes: config.civo.nodes,
targetNodesSize: config.civo.nodeSize,
tags: "poc gitops webmago",
applications: "argo cert-manager",
},
{provider: civo_provider}
);
orange-lawyer-86718
04/20/2021, 4:26 PMred-match-15116
04/20/2021, 5:40 PMpurple-nail-36818
04/20/2021, 6:54 PMbillowy-laptop-45963
04/20/2021, 7:19 PMbackend:
url: <s3://bucket/>
without successquiet-processor-51504
04/20/2021, 8:01 PMbumpy-summer-9075
04/20/2021, 10:12 PMk8s.apiextensions.CustomResource
? My trick to define a dummy resource and get the import string from the output of pulumi preview
does not work
Previewing update (dev):
Type Name Plan
pulumi:pulumi:Stack user-dev
+ └─ kubernetes:<http://traefik.containo.us/v1alpha1:Middleware|traefik.containo.us/v1alpha1:Middleware> user-strip-prefix create
then if I try
pulumi import kubernetes:<http://traefik.containo.us/v1alpha1:Middleware|traefik.containo.us/v1alpha1:Middleware> user-strip-prefix default/user-service-stripprefix -o /dev/stdout
I get
Previewing import (dev):
Type Name Plan Info
pulumi:pulumi:Stack user-dev 1 error
= └─ kubernetes:<http://traefik.containo.us/v1alpha1:Middleware|traefik.containo.us/v1alpha1:Middleware> user-strip-prefix import 1 error
Diagnostics:
pulumi:pulumi:Stack (user-dev):
error: preview failed
kubernetes:<http://traefik.containo.us/v1alpha1:Middleware|traefik.containo.us/v1alpha1:Middleware> (user-strip-prefix):
error: Preview failed: unknown resource type 'kubernetes:<http://traefik.containo.us/v1alpha1:Middleware|traefik.containo.us/v1alpha1:Middleware>'
many-spring-73557
04/20/2021, 10:46 PMkube-system/kube-dns
servicepurple-train-14007
04/21/2021, 2:00 AMlittle-cartoon-10569
04/21/2021, 4:48 AMkind-mechanic-53546
04/21/2021, 6:50 AMiled to solve with frontend dockerfile.v0: failed to create LLB definition: <http://acrnamehere.azurecr.io/repo:tag|acrnamehere.azurecr.io/repo:tag>: not found
wonderful-dog-9045
04/21/2021, 1:38 PMRun pulumi/actions@v3
with:
command: preview
stack-name: live
work-dir: ./
comment-on-pr: false
github-token: ***
parallel: 2147483647
target-dependents: false
refresh: false
upsert: false
env:
PULUMI_ACCESS_TOKEN: ***
Error: code: 255
stdout:
stderr: error: no stack named 'live' found
err?:
The correct stack-name is MyOrgName/live
and not live
.
However that is the name I put into the workflow:
- uses: pulumi/actions@v3
with:
command: up
stack-name: MyOrgName/live
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
Running pulumi preview --stack MyOrgName/live
locally works fine.
Any ideas what I may be doing wrong?faint-forest-37701
04/21/2021, 2:26 PMfaint-forest-37701
04/21/2021, 2:26 PMacceptable-energy-6360
04/21/2021, 2:28 PM#..., secretOutputNames, undefined)
STACK_TRACE:
Error
at Object.debuggablePromise (/Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/debuggable.js:69:75)
at Object.transferProperties (/Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/rpc.js:89:78)
at /Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/resource.js:389:33
at Generator.next (<anonymous>)
at /Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/resource.js:21:71
at new Promise (<anonymous>)
at __awaiter (/Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/resource.js:17:12)
at prepareResource (/Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/resource.js:331:12)
Is this a known issue and/or are there any suggested fixes?
"dependencies": {
"@pulumi/aws": "^4.0.0",
"@pulumi/awsx": "^0.30.0",
"@pulumi/pulumi": "^3.0.0",
...
early-minister-86776
04/21/2021, 4:42 PM