Selecting a variable from register

I’m trying to automate creating an AWS VPC with routes, subnets, instances, RDS, etc.
so I created the following yml:

Can you please try this:

For complete example, please refer this:
https://github.com/arbabnazar/ansible-aws-vpc-ha-wordpress/blob/master/aws/tasks/vpc.yml
Thanks,