Terraform apply: modifying ec2 instance size

From wikieduonline
Jump to navigation Jump to search
terraform apply
aws_instance.example: Refreshing state... [id=i-079b8300c42bea5c3]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated 
with the
following symbols:
  ~ update in-place
Terraform will perform the following actions:

  # aws_instance.example will be updated in-place
  ~ resource "aws_instance" "example" {
        id                                   = "i-079b8300c42bea5c3"
      ~ instance_type                        = "t2.micro" -> "t2.nano"
        tags                                 = {
            "Name" = "ExampleAppServerInstance"
        }
        # (27 unchanged attributes hidden)





        # (5 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

aws_instance.example: Modifying... [id=i-079b8300c42bea5c3]
aws_instance.example: Still modifying... [id=i-079b8300c42bea5c3, 10s elapsed]
aws_instance.example: Still modifying... [id=i-079b8300c42bea5c3, 20s elapsed]
aws_instance.example: Still modifying... [id=i-079b8300c42bea5c3, 30s elapsed]
aws_instance.example: Still modifying... [id=i-079b8300c42bea5c3, 40s elapsed]
aws_instance.example: Still modifying... [id=i-079b8300c42bea5c3, 50s elapsed]
aws_instance.example: Still modifying... [id=i-079b8300c42bea5c3, 1m0s elapsed]
aws_instance.example: Modifications complete after 1m0s [id=i-079b8300c42bea5c3]

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

See also[edit]

Advertising: