I tried to run the " inspec cloudformation generate [options] -n, --name=NAME -s, --stack=STACK -t, --template=TEMPLATE" but its not able to fetch the profile, but when i am running the inspec resources command like " aws_ec2_insatnce('i-****').instance_type" then its returning the correct the instance_type, and similarly for vpc_id and all other attributes. But while running the inspec cloudformation command its saying " unexpected tIDENTIFIER, expecting do or '{' or '('" and the profile name which i am providing getting underlined.
I tried to run the " inspec cloudformation generate [options] -n, --name=NAME -s, --stack=STACK -t, --template=TEMPLATE" but its not able to fetch the profile, but when i am running the inspec resources command like " aws_ec2_insatnce('i-****').instance_type" then its returning the correct the instance_type, and similarly for vpc_id and all other attributes. But while running the inspec cloudformation command its saying " unexpected tIDENTIFIER, expecting do or '{' or '('" and the profile name which i am providing getting underlined.