bumpy-beach-79487
05/28/2020, 2:59 PMhelm_secrets
with Pulumi ?brash-manchester-88595
05/28/2020, 3:15 PMerror: post-step event returned an error: failed to normalize URN references: Two resources ('<urn1>' '<urn2>') aliased to the same: '<urn3>'
this is only detected during execution, could this be made a planning phase detection? Possibly relevant: one of those resources was being imported.
It breaks the import, leaving the to-be-imported resources in state ‘unknown’, requiring manual stack edits..bitter-island-28909
05/28/2020, 7:15 PMError authorizing security group ingress rules: InvalidPermission.Malformed: Unsupported IP protocol "-1" - supported: [tcp, udp, icmp]
able-beard-29160
05/28/2020, 7:33 PMwonderful-dog-9045
05/28/2020, 9:10 PMpulumi destroy --target-dependents -t urn:pulumi:dev::leaderboard::aws:ebs/volume:Volume::leaderboard-dev
)millions-furniture-75402
05/28/2020, 9:12 PMtimeoutInMinutes
in the args. Am I missing something?
new aws.cloudformation.Stack(`${name}-cfn`, {
parameters: { ... },
capabilities: ["CAPABILITY_IAM"],
timeoutInMinutes: 120
}
The exact error:
aws:cloudformation:Stack (controller-tableau-cfn):
error: 1 error occurred:
* creating urn:pulumi:controller::shared-infra-controller::aws:cloudformation/stack:Stack::controller-tableau-cfn: timeout while waiting for state to become 'CREATE_COMPLETE, CREATE_FAILED, DELETE_COMPLETE, DELETE_FAILED, ROLLBACK_COMPLETE, ROLLBACK_FAILED' (last state: 'CREATE_IN_PROGRESS', timeout: 20m0s)
handsome-football-37974
05/28/2020, 9:33 PMvictorious-vase-44805
05/28/2020, 9:35 PMexport function setUpK8sProvider(rkeCluster: rke.Cluster): k8s.Provider {
return new k8s.Provider("rancherCluster", {
cluster: rkeCluster.clusterName,
kubeconfig: rkeCluster.kubeConfigYaml
}, { dependsOn: rkeCluster })
}
export function createNamespace(clusterProvider: k8s.Provider): k8s.core.v1.Namespace {
return new k8s.core.v1.Namespace("cert-manager", {
metadata: {
name: "cert-manager",
labels: {"<http://certmanager.k8s.io/disable-validation|certmanager.k8s.io/disable-validation>": "true" }
}
}, { provider: clusterProvider, dependsOn: [clusterProvider] })
}
export function createCertManager(certManagerNamespace: k8s.core.v1.Namespace, clusterProvider: k8s.Provider): k8s.helm.v3.Chart {
return new k8s.helm.v2.Chart(
'cert-manager',
{
chart: 'cert-manager',
version: 'v0.15.1',
namespace: certManagerNamespace.metadata.name,
values: {
installCRDs: true,
},
fetchOpts: {
repo: '<https://charts.jetstack.io>',
},
},
{
dependsOn: certManagerNamespace,
provider: clusterProvider
},
);
}
export function createRancherServer(serverName: string, clusterProvider: k8s.Provider, certManager: k8s.helm.v3.Chart): k8s.helm.v3.Chart {
let namespace = new k8s.core.v1.Namespace("rancher", {
metadata: {
name: "rancher",
}
}, { provider: clusterProvider, dependsOn: [certManager] })
return new k8s.helm.v2.Chart(serverName, {
chart: "rancher",
namespace: namespace.metadata.name,
fetchOpts: {
repo: "<https://releases.rancher.com/server-charts/stable>"
},
values: {
"hostname": "<http://rancher.mydomain.com|rancher.mydomain.com>",
"ingress.tls.source": "letsEncrypt",
"letsEncrypt.email": "<mailto:myemail@mydomain.com|myemail@mydomain.com>"
}
}, { provider: clusterProvider, dependsOn: [namespace] })
}
Any idea where I’m going wrong perhaps?millions-judge-24978
05/29/2020, 5:36 AMget()
methods like k8s.core.v1.Service.get
?
Imagine creating an operator with pulumi, and needing some info about a Service
that it will create as a result.alert-restaurant-79151
05/29/2020, 9:08 AMdazzling-sundown-39670
05/29/2020, 11:31 AMmillions-furniture-75402
05/29/2020, 12:53 PMenough-kite-69616
05/29/2020, 3:02 PMns/secretname
like the docs suggest, but it doesn't seem to workfull-dress-10026
05/29/2020, 8:34 PMk8s.yaml.ConfigFile
results in a "no such file or directory" error. Visiting that URL in the browser results in a 404. Does anyone have any idea what this URL format is and if/how it could work with Pulumi?mammoth-oyster-21227
05/29/2020, 9:59 PMpulumi.output
? I’m catching strange behaviour very often and there is no way to debug stacks.full-dress-10026
05/29/2020, 10:36 PMcurved-pharmacist-41509
05/30/2020, 5:47 AMwonderful-dog-9045
05/30/2020, 7:24 AMpulumi destroy
. Checked the yaml and the region is correct. I think it may have been caused by me changing the region and the attempting a pulumi up
that failed. Now, no matter what region i set in the config, it gives that error. Can anyone help please?fast-ice-1848
05/30/2020, 9:25 AMAddon 'azurepolicy' is not supported in this cloud environment.
It comes from terraform azure provider, doesn't it? Is there any solution or work around available? Thanksable-beard-29160
05/30/2020, 4:32 PMdazzling-sundown-39670
05/30/2020, 5:22 PMpulumi up
this one is stuck here:
- └─ kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition> <http://challenges.acme.cert-manager.io|challenges.acme.cert-manager.io> deleting completing deletion from previous update
If I export the stack I can't see any pending_operations
and if I try to manually run helm uninstall cert-manager
I can see that it's not even installed. I've also tried running pulumi refresh
and just pulumi stack export | pulumi stack import
but it doesn't helpable-beard-29160
05/30/2020, 5:56 PMgitlab:token
and gitlab:base_url
config values, I get a network error:
error: Get "<https://gitlab.company.com/api/v4/user>": dial tcp: lookup <http://gitlab.company.com|gitlab.company.com> on 8.8.8.8:53: no such host
Where company.com is the redacted version of my actual host. I've double checked using cURL that I can access the instance given the access token that Pulumi uses and it all works great. Any ideas?able-beard-29160
05/30/2020, 9:55 PMpulumi/pulumi
Docker image in my CI/CD process, but I've noticed its size is approximately 3GB 😲. Now, I'll probably build my own slimmer image, but I'm curious, if I'm using Pulumi with a TypeScript project, what runtime dependencies do I need except the Pulumi executable and nodejs? Let's say I'm only targeting Azure in my code. Will I need the az
executable to be present on PATH
too?sticky-thailand-14236
05/30/2020, 11:36 PMblue-businessperson-90950
05/31/2020, 10:08 AMcuddly-lizard-88530
05/31/2020, 1:45 PMbig-island-38073
05/31/2020, 10:34 PMdocker run
commands with different docker context
's? - or alternatively any docker-compose like utility? (I understand this is not a primary/intended use case)late-agency-42012
06/01/2020, 1:20 AMbig-dress-78008
06/01/2020, 3:51 AMdry-run
mode in Pulumi?dazzling-sundown-39670
06/01/2020, 8:39 AMdazzling-sundown-39670
06/01/2020, 8:39 AMbillowy-army-68599
06/01/2020, 5:43 PMOutput
and then pass it through to the kubernetes provider as a StackReference
. I can send an example if this looks like a good approach