Answers
Here are the answers to the pop quiz:
- What is the name of the function we use to work with CIDR ranges in Terraform? The answer is
cidrsubnet
. - When passing in variables at runtime, which tools use the
--extra-vars
flag, and which one uses-var
? The--extra-vars
flag is used by Ansible, and-var
is Terraform. - What key can be used to loop through a list or map of variables in Terraform tasks or modules? The key is
for_each
with the value being the variable you wish to loop through. - When working with NFS, which of the two public clouds requires a mount target to be configured? The answer is Amazon Web Services.
- Azure Database for MySQL – Flexible Server requires us to do what to a subnet? Azure Database for MySQL – Flexible Server must have an entire subnet delegated to it using the
delegate
key.