Questions
The answers to the following questions can be found in the Assessments section at the end of this book:
- Which of the following source definitions for a module is incorrect?
A. ../../terraform-module
B. github.com/terraform-module
C. \github.com/terraform-module
D. bitbucket.com/terraform-module
- You have published an AWS Elastic Compute Cloud (EC2) instance module to the Bitbucket repository. What will happen when you run the
terraform init
command?
A. It downloads the EC2 module to the local directory.
B. It deletes the EC2 module from the repository.
C. It updates the version of the EC2 module.
D. It moves the EC2 instance module to other subdirectories.
- What is the correct syntax for defining output from a module?
A. module.terraform-aws-vpc.vpc_id
B. terraform-aws-vpc.vpc_id
C. vpc_id
D. terraform-aws-vpc
- You are working with many developers and they are all tired of writing their Terraform...