-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
destory #5
Conversation
Ran Plan for dir: No changes. Infrastructure is up-to-date.
This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.
|
atlantis apply |
Ran Apply for dir: Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
|
Ran Plan for dir: Plan Error Show Output
|
atlantis plan |
Ran Plan for dir: Plan Error Show Output
|
Ran Plan for dir: Plan Error Show Output
|
Ran Plan for dir: Plan Error Show Output
|
Ran Plan for dir: Show OutputAn execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# aws_instance.example will be created
+ resource "aws_instance" "example" {
+ ami = "ami-09a4a9ce71ff3f20b"
+ arn = (known after apply)
+ associate_public_ip_address = (known after apply)
+ availability_zone = (known after apply)
+ cpu_core_count = (known after apply)
+ cpu_threads_per_core = (known after apply)
+ get_password_data = false
+ host_id = (known after apply)
+ id = (known after apply)
+ instance_state = (known after apply)
+ instance_type = "t2.nano"
+ ipv6_address_count = (known after apply)
+ ipv6_addresses = (known after apply)
+ key_name = (known after apply)
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (known after apply)
+ primary_network_interface_id = (known after apply)
+ private_dns = (known after apply)
+ private_ip = (known after apply)
+ public_dns = (known after apply)
+ public_ip = (known after apply)
+ secondary_private_ips = (known after apply)
+ security_groups = (known after apply)
+ source_dest_check = true
+ subnet_id = (known after apply)
+ tenancy = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
+ ebs_block_device {
+ delete_on_termination = (known after apply)
+ device_name = (known after apply)
+ encrypted = (known after apply)
+ iops = (known after apply)
+ kms_key_id = (known after apply)
+ snapshot_id = (known after apply)
+ volume_id = (known after apply)
+ volume_size = (known after apply)
+ volume_type = (known after apply)
}
+ ephemeral_block_device {
+ device_name = (known after apply)
+ no_device = (known after apply)
+ virtual_name = (known after apply)
}
+ metadata_options {
+ http_endpoint = (known after apply)
+ http_put_response_hop_limit = (known after apply)
+ http_tokens = (known after apply)
}
+ network_interface {
+ delete_on_termination = (known after apply)
+ device_index = (known after apply)
+ network_interface_id = (known after apply)
}
+ root_block_device {
+ delete_on_termination = (known after apply)
+ device_name = (known after apply)
+ encrypted = (known after apply)
+ iops = (known after apply)
+ kms_key_id = (known after apply)
+ volume_id = (known after apply)
+ volume_size = (known after apply)
+ volume_type = (known after apply)
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Releasing state lock. This may take a few moments...
|
atlantis apply |
Ran Apply for dir: aws_instance.example: Creating...
aws_instance.example: Still creating... [10s elapsed]
aws_instance.example: Creation complete after 16s [id=i-056a2ce04fb187217]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
|
Ran Plan for dir: No changes. Infrastructure is up-to-date.
This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.
|
Ran Plan for dir: Show OutputAn execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
- destroy
Terraform will perform the following actions:
# aws_instance.demo will be created
+ resource "aws_instance" "demo" {
+ ami = "ami-09a4a9ce71ff3f20b"
+ arn = (known after apply)
+ associate_public_ip_address = (known after apply)
+ availability_zone = (known after apply)
+ cpu_core_count = (known after apply)
+ cpu_threads_per_core = (known after apply)
+ get_password_data = false
+ host_id = (known after apply)
+ id = (known after apply)
+ instance_state = (known after apply)
+ instance_type = "t2.nano"
+ ipv6_address_count = (known after apply)
+ ipv6_addresses = (known after apply)
+ key_name = (known after apply)
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (known after apply)
+ primary_network_interface_id = (known after apply)
+ private_dns = (known after apply)
+ private_ip = (known after apply)
+ public_dns = (known after apply)
+ public_ip = (known after apply)
+ secondary_private_ips = (known after apply)
+ security_groups = (known after apply)
+ source_dest_check = true
+ subnet_id = (known after apply)
+ tenancy = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
+ ebs_block_device {
+ delete_on_termination = (known after apply)
+ device_name = (known after apply)
+ encrypted = (known after apply)
+ iops = (known after apply)
+ kms_key_id = (known after apply)
+ snapshot_id = (known after apply)
+ volume_id = (known after apply)
+ volume_size = (known after apply)
+ volume_type = (known after apply)
}
+ ephemeral_block_device {
+ device_name = (known after apply)
+ no_device = (known after apply)
+ virtual_name = (known after apply)
}
+ metadata_options {
+ http_endpoint = (known after apply)
+ http_put_response_hop_limit = (known after apply)
+ http_tokens = (known after apply)
}
+ network_interface {
+ delete_on_termination = (known after apply)
+ device_index = (known after apply)
+ network_interface_id = (known after apply)
}
+ root_block_device {
+ delete_on_termination = (known after apply)
+ device_name = (known after apply)
+ encrypted = (known after apply)
+ iops = (known after apply)
+ kms_key_id = (known after apply)
+ volume_id = (known after apply)
+ volume_size = (known after apply)
+ volume_type = (known after apply)
}
}
# aws_instance.example will be destroyed
- resource "aws_instance" "example" {
- ami = "ami-09a4a9ce71ff3f20b" -> null
- arn = "arn:aws:ec2:ap-southeast-1:486882535571:instance/i-056a2ce04fb187217" -> null
- associate_public_ip_address = true -> null
- availability_zone = "ap-southeast-1a" -> null
- cpu_core_count = 1 -> null
- cpu_threads_per_core = 1 -> null
- disable_api_termination = false -> null
- ebs_optimized = false -> null
- get_password_data = false -> null
- hibernation = false -> null
- id = "i-056a2ce04fb187217" -> null
- instance_state = "running" -> null
- instance_type = "t2.nano" -> null
- ipv6_address_count = 0 -> null
- ipv6_addresses = [] -> null
- monitoring = false -> null
- primary_network_interface_id = "eni-0230de0f3459600d7" -> null
- private_dns = "ip-172-31-22-163.ap-southeast-1.compute.internal" -> null
- private_ip = "172.31.22.163" -> null
- public_dns = "ec2-18-141-24-103.ap-southeast-1.compute.amazonaws.com" -> null
- public_ip = "18.141.24.103" -> null
- secondary_private_ips = [] -> null
- security_groups = [
- "default",
] -> null
- source_dest_check = true -> null
- subnet_id = "subnet-52944334" -> null
- tags = {} -> null
- tenancy = "default" -> null
- volume_tags = {} -> null
- vpc_security_group_ids = [
- "sg-445fdd30",
] -> null
- credit_specification {
- cpu_credits = "standard" -> null
}
- metadata_options {
- http_endpoint = "enabled" -> null
- http_put_response_hop_limit = 1 -> null
- http_tokens = "optional" -> null
}
- root_block_device {
- delete_on_termination = true -> null
- device_name = "/dev/sda1" -> null
- encrypted = false -> null
- iops = 100 -> null
- volume_id = "vol-0221870068357a371" -> null
- volume_size = 8 -> null
- volume_type = "gp2" -> null
}
}
Plan: 1 to add, 0 to change, 1 to destroy.
Releasing state lock. This may take a few moments...
|
atlantis apply |
Ran Apply for dir: aws_instance.example: Destroying... [id=i-056a2ce04fb187217]
aws_instance.demo: Creating...
aws_instance.example: Still destroying... [id=i-056a2ce04fb187217, 10s elapsed]
aws_instance.demo: Still creating... [10s elapsed]
aws_instance.example: Still destroying... [id=i-056a2ce04fb187217, 20s elapsed]
aws_instance.demo: Still creating... [20s elapsed]
aws_instance.example: Still destroying... [id=i-056a2ce04fb187217, 30s elapsed]
aws_instance.demo: Still creating... [30s elapsed]
aws_instance.example: Destruction complete after 30s
aws_instance.demo: Creation complete after 33s [id=i-0a529383f5d1ff8a3]
Apply complete! Resources: 1 added, 0 changed, 1 destroyed.
|
Ran Plan for dir: Show OutputAn execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
# aws_instance.demo will be destroyed
- resource "aws_instance" "demo" {
- ami = "ami-09a4a9ce71ff3f20b" -> null
- arn = "arn:aws:ec2:ap-southeast-1:486882535571:instance/i-0a529383f5d1ff8a3" -> null
- associate_public_ip_address = true -> null
- availability_zone = "ap-southeast-1c" -> null
- cpu_core_count = 1 -> null
- cpu_threads_per_core = 1 -> null
- disable_api_termination = false -> null
- ebs_optimized = false -> null
- get_password_data = false -> null
- hibernation = false -> null
- id = "i-0a529383f5d1ff8a3" -> null
- instance_state = "running" -> null
- instance_type = "t2.nano" -> null
- ipv6_address_count = 0 -> null
- ipv6_addresses = [] -> null
- monitoring = false -> null
- primary_network_interface_id = "eni-0150ca72aba970e4d" -> null
- private_dns = "ip-172-31-9-68.ap-southeast-1.compute.internal" -> null
- private_ip = "172.31.9.68" -> null
- public_dns = "ec2-3-0-206-217.ap-southeast-1.compute.amazonaws.com" -> null
- public_ip = "3.0.206.217" -> null
- secondary_private_ips = [] -> null
- security_groups = [
- "default",
] -> null
- source_dest_check = true -> null
- subnet_id = "subnet-d22ba88b" -> null
- tags = {} -> null
- tenancy = "default" -> null
- volume_tags = {} -> null
- vpc_security_group_ids = [
- "sg-445fdd30",
] -> null
- credit_specification {
- cpu_credits = "standard" -> null
}
- metadata_options {
- http_endpoint = "enabled" -> null
- http_put_response_hop_limit = 1 -> null
- http_tokens = "optional" -> null
}
- root_block_device {
- delete_on_termination = true -> null
- device_name = "/dev/sda1" -> null
- encrypted = false -> null
- iops = 100 -> null
- volume_id = "vol-0227d7bf565c5bf02" -> null
- volume_size = 8 -> null
- volume_type = "gp2" -> null
}
}
Plan: 0 to add, 0 to change, 1 to destroy.
|
atlantis apply |
Ran Apply for dir: aws_instance.demo: Destroying... [id=i-0a529383f5d1ff8a3]
aws_instance.demo: Still destroying... [id=i-0a529383f5d1ff8a3, 10s elapsed]
aws_instance.demo: Still destroying... [id=i-0a529383f5d1ff8a3, 20s elapsed]
aws_instance.demo: Still destroying... [id=i-0a529383f5d1ff8a3, 30s elapsed]
aws_instance.demo: Destruction complete after 30s
Apply complete! Resources: 0 added, 0 changed, 1 destroyed.
|
Locks and plans deleted for the projects and workspaces modified in this pull request:
|
destory instance