Infrastructure as Code và Terraform – Trang Chủ

$

terraform

destroy

auto

approve

aws_instance

.

hello

:

Refreshing

state

.

.

.

[

id

=

i

0ec68130272c45152

]

 

Terraform

used

the

selected

providers

to

generate

the

following

execution

plan

.

Resource

actions

are

indicated

with

the

following

symbols

:

  

destroy

 

Terraform

will

perform

the

following

actions

:

 

  

# aws_instance.hello will be destroyed

  

resource

“aws_instance”

“hello”

{

      

ami

                                  

=

“ami-09dd2e08d601bff67”

&

gt

;

null

.

.

.

Plan

:

0

to

add

,

0

to

change

,

1

to

destroy

.

aws_instance

.

hello

:

Destroying

.

.

.

[

id

=

i

0ec68130272c45152

]

aws_instance

.

hello

:

Still

destroying

.

.

.

[

id

=

i

0ec68130272c45152

,

10s

elapsed

]

aws_instance

.

hello

:

Still

destroying

.

.

.

[

id

=

i

0ec68130272c45152

,

20s

elapsed

]

aws_instance

.

hello

:

Still

destroying

.

.

.

[

id

=

i

0ec68130272c45152

,

30s

elapsed

]

aws_instance

.

hello

:

Destruction

complete

after

35s

 

Destroy

complete

!

Resources

:

1

destroyed

.