It errors with “Cannot modify VpcID parameter(s) for a target group”. I cannot find any documentation on this error or it’s cause. I also get the error if I remove the entire vpc_id line from the playbook.
I tried hard-coding the VPC ID and also running it with -vvv. No difference when I hard code and -vvv gave me no more information to go on. Also, I tried commenting out the VPC ID line in the play and the error still occurs and fails.
That was exactly the issue!! In testing this over and over I was deleting the vpc and all of it’s components, EXCEPT that it wasn’t deleting the target group, so ansible thought I was trying to modify the existing one. Once I manually deleted it and ran the playbook I get past this error. Thank You!!!