Global InfraGlobal Infra Cloud
AWS

Ec2

Terraform reference for Ec2.

Schema Properties

PropertyTypeDescription
cpu
Required
integerThe number of CPU cores allocated to the asset.
disks
list(object)
host
Required
stringThe hostname of the asset.
ip
Required
stringThe IP address of the asset.
memory
stringThe RAM allocated to the asset.
operating_system
stringThe operating system running on the asset.
resource "gi_aws_ec2" "example" {  attributes = {    cpu  = 1    host = "example-host"    ip   = "example-ip"  }}

Usage Notes