2 scenarios
First
I have been struggling to create a simple infra (ec2, elb, sec group, vpc). What I do is draw the the infra in:
Cloudcraft,
Download as terraform code
and Run with terragrunt apply-all.
*The s3 bucket is created successfully
Hit multiple errors:
exit status 1
Cannot process module Module ~/aws-tf/vpc-sg-test/vpc-sg-test/eu-north-1/vpc (excluded: false, dependencies: [~/aws-tf/vpc-sg-test/vpc-sg-test/eu-north-1/aws-data]) because one of its dependencies, Module ~/aws-tf/vpc-sg-test/vpc-sg-test/eu-north-1/aws-data (excluded: false, dependencies: ), finished with an error: Hit multiple errors:
exit status 1.
Second
I cloned GitHub - antonbabenko/modules.tf-demo: Real modules.tf demo (updated May 2021). following the instructions + video. When I run apply-all, S3 bucket is created, but no resources added.
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
Releasing state lock. This may take a few moments…
[terragrunt] [~/aws-tf/modules.tf-demo-master/web_app_reference_architecture_complete/eu-west-1/vpc] 2020/01/29 08:26:36 Detected 1 Hooks[terragrunt] [~/aws-tf/modules.tf-demo-master/web_app_reference_architecture_complete/eu-west-1/vpc] 2020/01/29 08:26:36 Module ~/aws-tf/modules.tf-demo-master/web_app_reference_architecture_complete/eu-west-1/vpc has finished successfully!