brikis98 / terraform-up-and-running-code

Code samples for the book "Terraform: Up & Running" by Yevgeniy Brikman
http://www.terraformupandrunning.com/
MIT License
2.87k stars 1.92k forks source link

Chapter 7 - dep add step doesn't appear to work. #63

Closed DevOpsBoondoggles closed 3 years ago

DevOpsBoondoggles commented 3 years ago

dep ensure -add github.com/gruntwork-io/terratest/modules/terraform@v0.15.9

results in the pictured errors so I'm stuck quite early. Not sure if I'm being dumb and missing a step.

Also I don't know Go at all, should I just skip the whole terratest thing or is there a "Enough Go to use Terratest" thing I can do ? thank you !

image

image

brikis98 commented 3 years ago

Did you follow the exact steps in the book?

Screen Shot 2020-10-18 at 11 15 56 AM Screen Shot 2020-10-18 at 11 16 19 AM
DevOpsBoondoggles commented 3 years ago

I think so ! I'll revisit in case I didn't but I rechecked it after issues. Am usually decent at following steps.

But I guess the separate question of how much Go I need to understand applies. Like if I get this working will I still struggle ?

DevOpsBoondoggles commented 3 years ago

okay this time it hung for ages and then seemed to do the thing

Not sure why it's saying that message RE importing in the project though. seems ok

image