brainy-caravan-45245
rough-window-15889
05/11/2022, 6:05 PMbroad-raincoat-27115
05/19/2022, 9:59 AMenough-garden-22763
05/19/2022, 2:42 PMmammoth-salesclerk-61945
05/20/2022, 10:37 PMthe argument to Fn::ToBase64 must be a string; the argument to Fn::ToBase64 must be a string
the variables section is:
variables:
kubeconfigs:
Fn::Invoke:
Function: azure-native:containerservice:listManagedClusterUserCredentials
Arguments:
resourceGroupName: ${rg.name}
resourceName: ${cluster-1.name}
kubeconfigb64:
Fn::ToBase64: ${kubeconfigs.kubeconfigs[0].value}
the outputs section is as such
outputs:
kconfig: ${kubeconfigs.kubeconfigs[0].value}
the output is:
Outputs:
+ kconfig: "YXBpVmVyc2lv................................................."
bulky-artist-13104
05/29/2022, 9:48 PMcue
and yaml
in general. I'm trying to build out a simple kubernetes cluster using AWS provider while using the cue
compiler option. I started from the basic example provided on the pulumi-yaml
project. When attempting to bring up the resources, I wanted to connect to the cluster with my local kubectl
install. I ran into an error getting credentials: exec plugin is configured to use API version <http://client.authentication.k8s.io/v1beta1|client.authentication.k8s.io/v1beta1>, plugin returned version <http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>
. I looked at the detailed output from Pulumi, and it seems to be creating the kubeconfig
file with ``client.authentication.k8s.io/v1beta1`` instead of <http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>
. I installed different versions of kubectl
and kubectl 1.21
works so far for me where I can connect, but it doesn't list in resources, since Pulumi failed to finish the rest of the resources. I'm not sure if this is the correct place to ask for help.damp-fall-55922
06/08/2022, 11:10 PMdamp-fall-55922
06/23/2022, 2:23 PMsuper().__init__("noom:aurora:postgres", service_name, props, opts)
any thoughts?witty-candle-66007
06/27/2022, 4:43 PMwitty-candle-66007
06/27/2022, 5:04 PMmany-telephone-49025
06/27/2022, 8:24 PMbig-architect-71258
07/21/2022, 11:49 AMjolly-air-80617
08/09/2022, 8:38 PMplain-angle-80802
09/15/2022, 6:19 PMbright-orange-69401
09/18/2022, 4:33 AMnuage:Function
component, how would Pulumi YAML know about it ? Don't I need to somehow install it ? Maybe as a Pulumi plugin ?bright-orange-69401
09/18/2022, 5:40 AMstraight-arm-50771
10/05/2022, 2:48 PMPulumi.yaml
resource definition up between multiple files? Not seeing any docs around thisstraight-arm-50771
10/05/2022, 7:48 PMError: kubernetes:core/v1:Secret is not assignable from {type: string, metadata: {name: string, namespace: string}, data: string}
on Pulumi.yaml line 537:
537: ${dockerHubCredentials}
Cannot assign '{type: string, metadata: {name: string, namespace: string}, data: string}' to 'kubernetes:core/v1:Secret':
data: Cannot assign type 'string' to type 'Map<string>'
# Pulumi.yaml #
variables:
dockerHubCredentials:
Fn::Invoke:
Function: gcp:secretmanager/getSecretVersion:getSecretVersion
Arguments:
secret: k8s_global_dockerhub-regcred
project: myproj
Return: secretData
resources:
regcred:
type: kubernetes:core/v1:Secret
properties:
type: <http://kubernetes.io/dockerconfigjson|kubernetes.io/dockerconfigjson>
metadata:
name: regcred
namespace: some-ns
data:
${dockerHubCredentials}
outputs:
debugRegCred: ${dockerHubCredentials}
# Return #
Outputs:
debugRegCred: {".dockerconfigjson": "my-base64-encoded-config"}
straight-arm-50771
10/06/2022, 5:23 PMauth:
Fn::Invoke:
Function: command:local:run
Arguments:
command: USE_GKE_GCLOUD_AUTH_PLUGIN=True gcloud container clusters get-credentials ${cluster.id} --region us-east4 --project ${pulumi.stack}
options:
parent: ${cluster}
Tried shoe-horning it into a resource def, but I don't have a type
. All of the examples show this sort of thing in the variables:
section, which wouldn't work between resources that both create the k8s cluster, and those that write to it.
I'm familiar with command:local:Command
, but I need it to run every timerefined-pilot-45584
10/25/2022, 4:27 PMpowerful-room-57148
11/18/2022, 5:26 PMfuture-air-70511
01/26/2023, 9:46 PMresources:
example:
type: okta:app:Saml
properties:
...
idpIssuer: "<http://www.okta.com/${org.externalKey}>"
subjectNameIdTemplate: "${user.userName}"
userNameTemplate: "${source.samAccountName}"
...
able-train-72108
01/31/2023, 8:11 PMfancy-shoe-18611
02/22/2023, 12:57 AMcidrsubnet
for the yaml runtime?worried-helmet-23171
02/23/2023, 11:49 PMrich-motorcycle-71684
02/24/2023, 2:25 AMpulumi import
statement, paste in the IDs from the aws console, then copy and paste the code.
It would be really nice if I could just do pulumi import {top level ID} --include-dependents
and it would scan through the whole thing and provide me the code for the whole lotrich-motorcycle-71684
02/24/2023, 7:17 AMtype: aws:apigateway:RestApi
and
type: aws-apigateway:RestAPI
I can't seem to find it in the docs.
The 2nd one has .url
as a property, the first doesn't. But the first one is what is mentioned in the documentation, I also checked the aws native api docs but that is very lacking in examples and also doesn't have .url
as an output property.
The first is generated by doing pulumi new
and selecting from one of the templates, I believe it is aws yaml serverless or something like thatfreezing-daybreak-42018
03/03/2023, 7:30 PMfreezing-daybreak-42018
03/03/2023, 7:30 PMfreezing-daybreak-42018
03/03/2023, 7:30 PM