-
Notifications
You must be signed in to change notification settings - Fork 484
Labels
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
cdktf & Language Versions
cdktf: 0.1.0
@cdktf/provider-azurerm: 0.0.91
Affected Resource(s)
CosmosdbAccount from @cdktf/provider-azurerm
Expected Behavior
Referencing cosmosDbAccount.connectionStrings[0], e.g. as a terraform output, should yield the actual reference (i.e. in HCL: "${azurerm_cosmosdb_account.cosmosdb_account.connection_strings[0]}").
Actual Behavior
It actually yields "#{Token[TOKEN.0]}"
Important Factoids
I'm pretty sure that this is closely related to #434 (and thus probably also #435), but I didn't want to hijack any of those for my question. I'm not very familiar with CDKTF yet, but from what I've read, I was expecting that getListAttribute was implemented for that exact purpose, but it doesn't seem to work here. Is this a bug or did I just miss something? And if not, is there a workaround for that?