tftarget
tftarget copied to clipboard
Quotation escaping still and issue
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.
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).