ExamGecko
Question list
Search
Search

Question 37 - Terraform Associate 003 discussion

Report
Export

You want to define a single input variable to capture configuration values for a server. The values must represent memory as a number, and the server name as a string.

Which variable type could you use for this input?

A.
List
Answers
A.
List
B.
Object
Answers
B.
Object
C.
Map
Answers
C.
Map
D.
Terraform does not support complex input variables of different types
Answers
D.
Terraform does not support complex input variables of different types
Suggested answer: B

Explanation:

This is the variable type that you could use for this input, as it can store multiple attributes of different types within a single value. The other options are either invalid or incorrect for this use case.

asked 18/09/2024
Christina Chelioti
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first