This example introduces aws_instance
resource.
.. toctree:: :caption: additional examples run_instance_with_cdrom/README run_instance_with_ebs_override/README run_instance_with_data_source_ami/README run_instance_with_existing_network_interface/README run_instance_default_subnet/README run_instance_in_switch/README run_instances_remove_cdrom/README
tenancy
host_id
cpu_core_count
cpu_threat_per_code
ebs_optimized
get_password_data
monitoring
iam_instance_profile
ipv6_address_count
ipv6_addresses
volume_tags
credit_specification
This resource supports tags
attribute:
resource "aws_instance" "test" { ... tags = { Name = "value" } ... }
.. literalinclude:: main.tf