sparse-intern-71089
04/14/2021, 6:23 PMwitty-candle-66007
04/14/2021, 6:56 PMmmazzadwsnduai-dls
but Azure expects that property to contain a full ARN type of string like /subscriptsion/…
or /providers/….
I don’t see the “mmazz..” string in the code so I’m assuming it’s coming from a reference. So I think you just need to make sure you are passing the full string and not just the name.few-pillow-1133
04/15/2021, 1:10 AMmmazzadwsnduai-dls
is from adf_config['encryption']['user_assigned_identity']['name']
user_assigned_identities suppose to take in Map(Str, Any).....so what would you advise as the correct way to populate user_assigned_identities
using adf_uai
couldn't find a usable reference....few-pillow-1133
04/15/2021, 2:52 AMFile "/usr/lib/python3.8/runpy.py", line 282, in run_path
return _run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "./__main__.py", line 4, in <module>
resources = infra.create_resources()
File "./__infra__.py", line 281, in create_resources
data_factory = create_data_factory(mmazzargxx, adf_kv, adf_k, adf_uai, adf_config, config_mmazzargxx)
File "./__infra__.py", line 253, in create_data_factory
resource_group_name=mmazzargxx.name,
AttributeError: 'tuple' object has no attribute 'name'
error: an unhandled error occurred: Program exited with non-zero exit code: 1
few-pillow-1133
04/15/2021, 3:22 AMuser_assigned_identities
when creating data factory....would appreciate further guidancefew-pillow-1133
04/15/2021, 3:52 AMuser_assigned_identities={
adf_uai.id: {}
}
it however fails with
TypeError: <pulumi.output.Output object at 0x7f7e6f2b2ee0> has type Output, but expected one of: bytes, unicode
error: an unhandled error occurred: Program exited with non-zero exit code: 1
So, how do one get id for user_assigned_identity given that Pulumi returns Output typewitty-candle-66007
04/15/2021, 1:35 PM.apply()
block to use the base type.
https://www.pulumi.com/docs/intro/concepts/inputs-outputs/#inputs-and-outputs