*NURSING > Final Exam Review > Terraform Associate Certification Study Final Exam Test Bank Questions and Answers 2022/2023 (All)

Terraform Associate Certification Study Final Exam Test Bank Questions and Answers 2022/2023

Document Content and Description Below

Terraform Associate Certification Study Final Exam Test Bank Questions and Answers 2022/2023 Provider initialization is one of the actions of terraform init. Running this command will? download an... d initialize any providers that are not already initialized. Where are providers downloaded by terraform init stored? Providers downloaded by terraform init are only installed for the current working directory; other working directories can have their own installed provider versions. Can terraform init download third party providers that are not distributed by HashiCorp Note that terraform init cannot automatically download providers that are not distributed by HashiCorp How do you constrain the provider version? add a required_providers block inside a terraform block: terraform { required_providers { aws = "~> 1.0" } } How do you upgrade the terraform provider? terraform init -upgrade. This command also upgrades to the latest versions of all Terraform modules. How can you optionally define multiple configurations for the same provider, and select which one to use on a per-resource or per-module basis. use alias # The default provider configuration provider "aws" { region = "us-east-1" } # Additional provider configuration for west coast region provider "aws" { alias = "west" region = "us-west-2" } Where are providers downloaded to? Windows: %APPDATA%\terraform.d\plugins All other systems: ~/.terraform.d/plugins If multiple versions of a plugin are installed, Terraform will use? If multiple versions of a plugin are installed, Terraform will use the newest version that meets the configuration's version constraints. The name of a variable can be any valid identifier except the following source version providers count for_each lifecycle depends_on locals How can an input variable be accessed? its value can be accessed from within expressions as var.<NAME>, where <NAME> matches the label given in the declaration block: resource "aws_instance" "example" { instance_type = "t2.micro" ami = var.image_id } What is a type constraint? The type argument in a variable block allows you to restrict the type of value that will be accepted as the value for a variable. If no type constraint is set then a value of any type is accepted. What are the three type constraints? string number bool What are the 5 complex types? list(<TYPE>) set(<TYPE>) map(<TYPE>) object({<ATTR NAME> = <TYPE>, ... }) tuple([<TYPE>, ...]) Because the input variables of a module are part of its user interface, you can briefly describe the purpose of each variable using the optional description argument: variable "image_id" { type = string description = "The id of the machine image (AMI) to use for the server." } How can you set variables? [Show More]

Last updated: 1 year ago

Preview 1 out of 49 pages

Reviews( 0 )

$8.50

Add to cart

Instant download

Can't find what you want? Try our AI powered Search

OR

GET ASSIGNMENT HELP
59
0

Document information


Connected school, study & course


About the document


Uploaded On

Nov 29, 2022

Number of pages

49

Written in

Seller


seller-icon
Raddy001

Member since 1 year

0 Documents Sold


Additional information

This document has been written for:

Uploaded

Nov 29, 2022

Downloads

 0

Views

 59

Document Keyword Tags

Recommended For You

What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·