rhythmic-hair-33677
12/22/2019, 5:33 AMflat-insurance-25294
12/22/2019, 3:07 PMthankful-hospital-94793
12/23/2019, 6:29 PMerror: Missing required configuration variable 'poc-pulumi:aws:region'
. When I do what the error describes and set: pulumi config set poc-pulumi:aws:region us-east-1
, I get another error telling me the format is invalid: `error: invalid configuration key: could not parse poc-pulumi:aws:region as a configuration key (configuration keys should be of the form <namespace>:<name>
)`broad-boots-45639
12/23/2019, 6:34 PMunable to load schema information from the API server: the server has asked for the client to provide credentials
From what I’ve read Pulumi auths to k8s using either ~/.kube/config or $KUBECONFIG. Given that I have a recently updated kube config and can connect to my cluster I don’t understand why Pulumi is failing. I’m thinking the issue could be with the way I export the provider in the project that creates the basic cluster:
export const kubeconfig = cluster.kubeConfigs[0].rawConfig
const provider = new kubernetes.Provider(project_name, { kubeconfig })
I removed the cluster bootstrapping (container registry login stuff, etc) that was dependent upon the provider and ran pulumi update -v 5 --debug
. I hoped this would update the kubeconfig being used by the other projects that deploy my apps. All I got from the attempted update was a vague error and an outputted kube config file:
error: an unhandled error occurred: Program exited with non-zero exit code: -1
What is the recommended way to deal with the k8s digitalocean certificate rotation, both from managing the base cluster and for the applications that will deploy to it? I took a look at the Terraform documentation here but am not sure how to translate this to Pulumi:
https://www.terraform.io/docs/providers/do/r/kubernetes_cluster.html#kubernetes-terraform-provider-example
I’ve been stuck on this for a while, any assistance would be greatly appreciated :-)plain-eye-9759
12/23/2019, 7:03 PMpulumi up
at the stage of creating an AAD application in my pulumi code.
error: graphrbac.ApplicationsClient#Create: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="Unknown" Message="Unknown service error" Details=[{"odata.error":{"code":"Authorization_RequestDenied","date":"2019-12-23T18:15:51","message":{"lang":"en","value":"Insufficient privileges to complete the operation."},"requestId":""}}]
Please, is there any additional permission I need to give the service principal in active directory?thankful-hospital-94793
12/23/2019, 7:54 PMDo you want to perform this update?
yes
> no
details
error: confirmation cancelled, not proceeding with the update: Unexpected Escape Sequence: ['\x1b' 'O']
thankful-hospital-94793
12/23/2019, 7:54 PMbillowy-laptop-45963
12/23/2019, 8:55 PMnew aws.sdk.S3()
like calls. If I have an aws.Provider with set credentials is there a way to use that to create sdk clients? This is for multi-account programs.rhythmic-hair-33677
12/23/2019, 10:33 PMbumpy-restaurant-1466
12/24/2019, 5:51 PMambitious-ram-5811
12/24/2019, 5:54 PMfuture-noon-68975
12/24/2019, 6:07 PMbumpy-restaurant-1466
12/24/2019, 6:16 PMtall-librarian-49374
12/24/2019, 7:06 PMtall-librarian-49374
12/24/2019, 7:07 PMhundreds-portugal-17080
12/24/2019, 7:27 PMbest-waiter-16927
12/25/2019, 11:51 AMplain-address-73583
12/26/2019, 8:00 PMclean-engineer-75963
12/26/2019, 9:10 PMflat-insurance-25294
12/27/2019, 2:20 AMorange-australia-91292
12/27/2019, 9:57 AMpython3
and try to do the following at the interactive prompt:
>>> import pulumi
>>> config = pulumi.Config()
and I get “Program run without the Pulumi engine available; re-run using the pulumi
CLI”
The pulumi binary is in PATH, I checked with print(os.environ["PATH"])
What else does it need?elegant-twilight-2745
12/27/2019, 2:34 PMorange-australia-91292
12/27/2019, 2:43 PMelegant-twilight-2745
12/27/2019, 4:40 PMhandsome-truck-95168
12/27/2019, 7:00 PMmillions-judge-24978
12/27/2019, 7:06 PM@pulumi/pulumi=1.8.1
with typescript has introduced this error for me:
stacks/cluster/api.ts(85,8): error TS2345: Argument of type '{ parent: this; }' is not assignable to parameter of type 'CustomResourceOptions'.
Types of property 'parent' are incompatible.
Type 'this' is not assignable to type 'Resource | undefined'.
Type 'this' is not assignable to type 'Resource'
where this
is a class API extends pulumi.ComponentResource
early-intern-90238
12/28/2019, 4:00 AMrhythmic-hair-33677
12/29/2019, 2:36 AMimport * as k8s from '@pulumi/kubernetes'
new k8s.helm.v2.Chart('gloo', {
chart: 'gloo/gloo',
})
Pulumi fails with: Error: Command failed: helm fetch gloo/gloo --untar --destination /tmp/tmp-12397xMcptBYcaXX7
In gloo docs, it mentions this bug in version 2: https://docs.solo.io/gloo/latest/installation/gateway/kubernetes/#installing-on-kubernetes-with-helm
However, I have helm v3 installed in my path:
$ helm version
version.BuildInfo{Version:“v3.0.2”, GitCommit:“19e47ee3283ae98139d98460de796c1be1e3975f”, GitTreeState:“clean”, GoVersion:“go1.13.5"}
Looking through pulumi-kubernetes I was able to find:
https://github.com/pulumi/pulumi-kubernetes/pull/882 (Merged)flat-insurance-25294
12/29/2019, 4:21 AMflat-insurance-25294
12/29/2019, 4:22 AMflat-insurance-25294
12/29/2019, 4:22 AM