# aws_instance.inst1: resource "aws_instance" "inst1" { ami = "ami-0a3c5e107eda3e29b" #arn = "arn:aws:ec2:eu-west-1:299632874688:instance/i-0127e23e987f1f08a" associate_public_ip_address = true availability_zone = "eu-west-1b" #cpu_core_count = 1 #cpu_threads_per_core = 1 disable_api_termination = false ebs_optimized = false get_password_data = false #id = "i-0127e23e987f1f08a" #instance_state = "running" instance_type = "t2.micro" ipv6_address_count = 0 ipv6_addresses = [] key_name = "My keyPair" monitoring = false #primary_network_interface_id = "eni-034b4bb5957d77123" #private_dns = "ip-172-31-237-138.eu-west-1.compute.internal" private_ip = "172.31.237.138" #public_dns = "ec2-34-241-189-63.eu-west-1.compute.amazonaws.com" #public_ip = "34.241.189.63" security_groups = [] source_dest_check = true subnet_id = "subnet-0d63fcd2f893bbb9b" tags = { "Name" = "InstanceName" } tenancy = "default" volume_tags = {} vpc_security_group_ids = [ "sg-0e09491e039edf3dd", ] credit_specification { cpu_credits = "standard" } # root_block_device { # delete_on_termination = true # iops = 100 # volume_id = "vol-02ccd390ba7b838cd" # volume_size = 8 # volume_type = "gp2" # } timeouts {} }