Hi all,
Trying to build a redis instance in google. Having some issues with the authorised network argument.
So my argument looks like this
authorized_network = “${element(data.terraform_remote_state.network.network.self_link ,0)}”
But when running a plan / apply, I get the following output
google_redis_instance.redis: At column 3, line 1: element: argument 1 should be type list, got type string in:
${element(data.terraform_remote_state.network.network.self_link ,0)}
Sounds like it might need an array somewhere, but no idea where. Have tried lots of different things.
Cheers.