Created
March 15, 2022 16:44
-
-
Save vaspahomov/d91b0f618b5339d0906fbf5f45626e5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-5.1$ terraform plan | |
aws_instance.instance1: Refreshing state... [id=i-04c6abecad14bc8c1] | |
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: | |
-/+ destroy and then create replacement | |
Terraform will perform the following actions: | |
# aws_instance.instance1 must be replaced | |
-/+ resource "aws_instance" "instance1" { | |
~ arn = "arn:aws:ec2:eu-north-1:848727100371:instance/i-04c6abecad14bc8c1" -> (known after apply) | |
~ associate_public_ip_address = true -> (known after apply) | |
~ availability_zone = "eu-north-1a" -> (known after apply) | |
~ cpu_core_count = 1 -> (known after apply) | |
~ cpu_threads_per_core = 2 -> (known after apply) | |
~ disable_api_termination = false -> (known after apply) | |
~ ebs_optimized = false -> (known after apply) | |
- hibernation = false -> null | |
+ host_id = (known after apply) | |
~ id = "i-04c6abecad14bc8c1" -> (known after apply) | |
~ instance_initiated_shutdown_behavior = "stop" -> (known after apply) | |
~ instance_state = "running" -> (known after apply) | |
~ ipv6_address_count = 1 -> (known after apply) | |
~ ipv6_addresses = [ | |
- "2a05:d016:e48:6c01:420f:2cb1:bb70:c8e4", | |
] -> (known after apply) | |
~ monitoring = false -> (known after apply) | |
+ outpost_arn = (known after apply) | |
+ password_data = (known after apply) | |
+ placement_group = (known after apply) | |
+ placement_partition_number = (known after apply) | |
~ primary_network_interface_id = "eni-0cc34c93b193e5411" -> (known after apply) | |
~ private_dns = "ip-10-0-1-150.eu-north-1.compute.internal" -> (known after apply) | |
~ private_ip = "10.0.1.150" -> (known after apply) | |
~ public_dns = "ec2-13-53-106-2.eu-north-1.compute.amazonaws.com" -> (known after apply) | |
~ public_ip = "13.53.106.2" -> (known after apply) | |
~ secondary_private_ips = [] -> (known after apply) | |
~ security_groups = [ # forces replacement | |
+ "sg-0af9b6156d394566c", | |
] | |
tags = { | |
"crossplane-kind" = "instance.ec2.aws.jet.crossplane.io" | |
"crossplane-name" = "instance1" | |
"crossplane-providerconfig" = "default" | |
} | |
~ tenancy = "default" -> (known after apply) | |
+ user_data = (known after apply) | |
+ user_data_base64 = (known after apply) | |
~ vpc_security_group_ids = [ | |
- "sg-0af9b6156d394566c", | |
] -> (known after apply) | |
# (7 unchanged attributes hidden) | |
~ capacity_reservation_specification { | |
~ capacity_reservation_preference = "open" -> (known after apply) | |
+ capacity_reservation_target { | |
+ capacity_reservation_id = (known after apply) | |
} | |
} | |
- credit_specification { | |
- cpu_credits = "unlimited" -> null | |
} | |
+ 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) | |
+ tags = (known after apply) | |
+ throughput = (known after apply) | |
+ volume_id = (known after apply) | |
+ volume_size = (known after apply) | |
+ volume_type = (known after apply) | |
} | |
~ enclave_options { | |
~ enabled = false -> (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 = "enabled" -> (known after apply) | |
~ http_put_response_hop_limit = 1 -> (known after apply) | |
~ http_tokens = "optional" -> (known after apply) | |
~ instance_metadata_tags = "disabled" -> (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 = true -> (known after apply) | |
~ device_name = "/dev/sda1" -> (known after apply) | |
~ encrypted = false -> (known after apply) | |
~ iops = 100 -> (known after apply) | |
+ kms_key_id = (known after apply) | |
~ tags = {} -> (known after apply) | |
~ throughput = 0 -> (known after apply) | |
~ volume_id = "vol-0f8df09051d109873" -> (known after apply) | |
~ volume_size = 8 -> (known after apply) | |
~ volume_type = "gp2" -> (known after apply) | |
} | |
} | |
Plan: 1 to add, 0 to change, 1 to destroy. | |
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment