Sign in
Menu
Start free trial

Outputs 30

  • amiAMI ID that was used to create the instance
  • arnThe ARN of the instance
  • availability_zoneThe availability zone of the created instance
  • capacity_reservation_specificationCapacity reservation specification of the instance
  • ebs_block_deviceEBS block device information
  • ebs_volumesMap of EBS volumes created and their attributes
  • ephemeral_block_deviceEphemeral block device information
  • iam_instance_profile_arnARN assigned by AWS to the instance profile
  • iam_instance_profile_idInstance profile's ID
  • iam_instance_profile_uniqueStable and unique string identifying the IAM instance profile
  • iam_role_arnThe Amazon Resource Name (ARN) specifying the IAM role
  • iam_role_nameThe name of the IAM role
  • iam_role_unique_idStable and unique string identifying the IAM role
  • idThe ID of the instance
  • instance_stateThe state of the instance
  • ipv6_addressesThe IPv6 address assigned to the instance, if applicable
  • outpost_arnThe ARN of the Outpost the instance is assigned to
  • password_dataBase-64 encoded encrypted password data for the instance. Useful for getting the administrator password for instances running Microsoft Windows. This attribute is only exported if get_password_data is true
  • primary_network_interface_idThe ID of the instance's primary network interface
  • private_dnsThe private DNS name assigned to the instance. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC
  • private_ipThe private IP address assigned to the instance
  • public_dnsThe public DNS name assigned to the instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC
  • public_ipThe public IP address assigned to the instance, if applicable.
  • root_block_deviceRoot block device information
  • security_group_arnAmazon Resource Name (ARN) of the security group
  • security_group_idID of the security group
  • spot_bid_statusThe current bid status of the Spot Instance Request
  • spot_instance_idThe Instance ID (if any) that is currently fulfilling the Spot Instance request
  • spot_request_stateThe current request state of the Spot Instance Request
  • tags_allA map of tags assigned to the resource, including those inherited from the provider default_tags configuration block