commands (CLI) Flashcards

1
Q

apply

A

Builds or changes infrastructure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

console

A

Interactive console for Terraform interpolations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

destroy

A

Destroy Terraform-managed infrastructure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

fmt

A

Rewrites config files to canonical format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

get

A

Download and install modules for the configuration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

graph

A

Create a visual graph of Terraform resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

import

A

Import existing infrastructure into Terraform

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

init

A

Initialize a new or existing Terraform configuration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

output

A

Read an output from a state file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

plan

A

Generate and show an execution plan

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

providers

A

Prints a tree of the providers used in the configuration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

push

A

Upload this Terraform module to Terraform Enterprise to run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

refresh

A

Update local state file against real resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

show

A

Inspect Terraform state or plan

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

taint

A

Manually mark a resource for recreation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

untaint

A

Manually unmark a resource as tainted

17
Q

validata

A

Validates the Terraform files

18
Q

version

A

Prints the Terraform version

19
Q

workspace

A

Workspace management

20
Q

debug

A

Debug output management (experimental)

21
Q

force-unlock

A

Manually unlock the terraform state

22
Q

state

A

Advanced state management