white-rainbow-68240
06/25/2020, 3:36 PMwhite-rainbow-68240
06/25/2020, 3:38 PMwhite-rainbow-68240
06/25/2020, 3:39 PMbest-lifeguard-91445
06/25/2020, 5:06 PMsticky-kitchen-61063
06/25/2020, 7:43 PMprivateSubnets
or publicSubnets
.little-cartoon-10569
06/25/2020, 11:33 PMfast-ice-1848
06/26/2020, 5:46 AMaloof-laptop-31826
06/26/2020, 12:27 PMwhite-rainbow-68240
06/26/2020, 12:54 PMinfra
, but can't find a way to tell pulumi to use that subfolder. I can set a default working-directory for run commands, but not for uses
. Any tips?agreeable-alligator-68718
06/26/2020, 1:47 PMredis_url = redis.cache_nodes.apply(lambda cache_nodes: cache_nodes[0].get('address'))
def generate_container_definition(log_group_name):
return json.dumps([{
'name': 'api',
'image': 'api/api:latest',
'portMappings': [{
'containerPort': 80,
'hostPort': 80,
'protocol': 'tcp'
}],
'logConfiguration': {
'logDriver': 'awslogs',
'options': {
'awslogs-group': log_group_name,
'awslogs-region': aws.get_region().name,
}
},
'environment' : [
{ 'name' : 'ENV', 'value' : config.get('ENV') },
{ 'name' : 'REDIS_URL', 'value' : redis_url }
]
}])
agreeable-alligator-68718
06/26/2020, 1:47 PMagreeable-alligator-68718
06/26/2020, 1:47 PMbroad-dentist-41670
06/26/2020, 2:06 PMaloof-laptop-31826
06/26/2020, 2:07 PMbumpy-agent-19616
06/26/2020, 3:06 PMacceptable-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:21 PMhundreds-musician-51496
06/29/2020, 6:32 PMimport
argument, I think. That way the secret becomes "managed". Pulumi's model doesn't work really well with conditional infrastructure.quiet-hairdresser-18834
06/29/2020, 6:34 PMhundreds-musician-51496
06/29/2020, 6:35 PMrandom.RandomPassword
resourcequiet-hairdresser-18834
06/29/2020, 6:44 PM