acceptable-midnight-12902
06/26/2020, 5:30 PMicy-jordan-58549
06/26/2020, 11:43 PMpulumi
and getting this:
./resources.go:90:26: not enough arguments in call to databricks.Provider
have ()
want (string)
./resources.go:132:4: unknown field 'AsyncDataSources' in struct literal of type tfbridge.JavaScriptInfo
make: *** [tfgen] Error 2
damp-elephant-82829
06/27/2020, 7:55 AMdamp-elephant-82829
06/27/2020, 7:55 AMwet-sunset-4939
06/28/2020, 3:27 AMdamp-elephant-82829
06/28/2020, 8:44 AMgreen-salesclerk-34937
06/28/2020, 11:06 AMfunction 'memoized': lodash.js(10544,29): which referenced
function 'Hash': lodash.js(1904,17): which referenced
function 'hashClear': lodash.js(1922,22): which captured
'nativeCreate', a function defined at
function 'create': which could not be serialized because
it was a native code function.
Has any advice / resource to look at?
I can avoid this error by declaring variable at root scope var memoized_f: .. | undefined = undefined
and assign memoized function at runtime, but I wanna dig in the problem.delightful-wall-24541
06/28/2020, 10:34 PMlimited-wall-51998
06/29/2020, 2:19 AMbroad-breakfast-39210
06/29/2020, 5:35 AMmember=allUsers
is not enough, if deploying with GCloud CLI also need to provide a flag [--allow-unauthenticated](https://cloud.google.com/functions/docs/securing/managing-access-iam#gcloud_4) but I don't know how to actually pass it to cloudfunctions.FunctionIamMember
...
I think Terraform has the same issue, their [Public Function](https://www.terraform.io/docs/providers/google/r/cloudfunctions_function.html) docs are not valid...curved-pharmacist-41509
06/29/2020, 9:00 AMpulumi refresh
get the role it tries to assume? It appears like it doesn't use the specified provider like preview/up does?mammoth-oyster-21227
06/29/2020, 10:41 AMdocker.getNetwork
, but it returns error that I can’t handle with try catch
white-rainbow-68240
06/29/2020, 1:16 PMcolossal-plastic-46140
06/29/2020, 2:48 PMquiet-hairdresser-18834
06/29/2020, 6:21 PMquiet-hairdresser-18834
06/29/2020, 6:32 PMfaint-motherboard-95438
06/30/2020, 12:07 AMpulumi up
in a container it reintalls the plugins each time while when I’m running the code locally I have no issue ? That’s driving me crazy.
I’m using the official container pulumi/pulumi-nodejs:latest
white-rainbow-68240
06/30/2020, 1:06 PMpulumi up
successfully via github actions? Pulumi up works locally for me.better-rainbow-14549
06/30/2020, 4:55 PMkubeconfig: pulumi.secret(kubeconfigraw)
but the full plain text is still being included in pulumi stack export
best-lifeguard-91445
06/30/2020, 9:21 PMconst createCloudWatchEventTargets = (rule: Output<EventRule>, pipeline: Pipeline) => {
pulumi.all([pipeline.name, pipeline.arn, rule.name]).apply(([pipelineName, pipelineArn, ruleName]) => {
const pipelineExecutionRole = new Role(`cwe-${pipelineName}-role`,
{
assumeRolePolicy: `{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "codepipeline.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}`
});
const pipelineExecutionPolicy = new Policy(`cwe-${pipelineName}-start-pipeline-execution`, {
policy: `{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"codepipeline:StartPipelineExecution"
],
"Resource": [
"${pipelineArn}"
]
}
]
}`
});
new PolicyAttachment(`cwe-${pipelineName}-start-pipeline-execution-attachment`, {
policyArn: pipelineExecutionPolicy.arn,
roles: [pipelineExecutionRole]
});
return new aws.cloudwatch.EventTarget(`${ruleName}-target`, {
arn: pipeline.arn,
rule: rule.name,
roleArn: pipelineExecutionRole.arn,
});
})
};
faint-motherboard-95438
06/30/2020, 10:45 PMdamp-elephant-82829
07/01/2020, 6:19 AMwhite-rainbow-68240
07/01/2020, 6:54 AMgreen-salesclerk-34937
07/01/2020, 8:18 AMalias.0.name: required field is not set
error with this code
export const apiDnsRecord = new aws.route53.Record('WSAPIRecord', {
name: domainName.domainName,
type: 'A',
zoneId,
aliases: [
{
evaluateTargetHealth: true,
name: domainName.domainNameConfiguration.targetDomainName,
zoneId,
},
],
})
so I tried domainName.domainNameConfigurationg.apply(config => …) to resolve empty targetDomainName but it didn’t work.
what I found is that export const domainName = …
clearly shows correct targetDomainName but I can’t get that.
Any help/advice what i can try?early-window-97394
07/01/2020, 12:52 PMdazzling-oxygen-76309
07/01/2020, 2:11 PMblue-computer-71271
07/01/2020, 3:29 PMicy-jordan-58549
07/01/2020, 5:11 PMable-beard-29160
07/01/2020, 5:38 PMimport
property, without having to also specify the name
property?polite-winter-39579
07/01/2020, 7:13 PMexport const registryCreds = pulumi.secret(new digitalocean.ContainerRegistryDockerCredentials("container-registry-creds", { registryName: registry.name }).dockerCredentials);
const registryCredsKubeSecret = new k8s.core.v1.Secret('registry-creds-kube-secret', {
type: '<http://kubernetes.io/dockerconfigjson|kubernetes.io/dockerconfigjson>',
metadata: {
namespace: appsNamespaceName
},
data: {
".dockerconfigjson": registryCreds.apply(v => Buffer.from(v).toString('base64')),
},
}, { provider })
// How do I make the output below NOT secret?
export const registryCredsKubeSecretName = registryCredsKubeSecret.metadata.name