You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? Select resources to target apply: module.awssecret["secret1"].... will be created
Enter a value: yes
╷
│ Error: Invalid target "module.awssecret[secret1]...."
│ Index brackets must contain either a literal number or a literal string.
This is from a foreach within a module call.
Had to manually -target="module.awssecret["secret1"]..... for it to work.
The text was updated successfully, but these errors were encountered:
Same here. Only happening with double-quoted map indexes. If I select a numeric index, it works. Did you figured out any workaround, @BClev?
I'm tight on time now, but I'll try figuring out at least the offending code, as soon as I have some spare time.
@pataquets No workaround. I just had to run a separate standard terraform -target command outside of tftarget to get it to work (latter part of my post).
Closed Issue #16 still a problem.
Received the following error:
? Select resources to target apply: module.awssecret["secret1"].... will be created
Enter a value: yes
╷
│ Error: Invalid target "module.awssecret[secret1]...."
│ Index brackets must contain either a literal number or a literal string.
This is from a foreach within a module call.
Had to manually -target="module.awssecret["secret1"]..... for it to work.
The text was updated successfully, but these errors were encountered: