Editing Terraform resource: aws instance
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<code>[[aws_instance]]</code> ([https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance ref]) | <code>[[aws_instance]]</code> ([https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance ref]) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== [[Terraform examples|Examples]] == | == [[Terraform examples|Examples]] == | ||
Line 44: | Line 35: | ||
resource "aws_instance" "restore-backups-machine" { | resource "aws_instance" "restore-backups-machine" { | ||
# (resource arguments) | # (resource arguments) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 70: | Line 42: | ||
value = [[aws_instance.]]your_server[[.private_ip]] | value = [[aws_instance.]]your_server[[.private_ip]] | ||
} | } | ||
− | |||
− | |||
− | |||
== aws_instance arguments == | == aws_instance arguments == | ||
Line 100: | Line 69: | ||
* [[Terraform: Data sources]] | * [[Terraform: Data sources]] | ||
* <code>[[Terraform: VPCIdNotSpecified]]</code> | * <code>[[Terraform: VPCIdNotSpecified]]</code> | ||
− | * | + | * [[Terraform module: ec2-instance]] |
* [[Terraform resource]]: <code>[[Terraform resource: aws volume attachment|aws_volume_attachment]]</code> | * [[Terraform resource]]: <code>[[Terraform resource: aws volume attachment|aws_volume_attachment]]</code> | ||
* [[volume_size]] | * [[volume_size]] | ||
Line 106: | Line 75: | ||
* <code>[[aws_eip]]</code> | * <code>[[aws_eip]]</code> | ||
* <code>[[aws instance.your_instance_name will be updated in-place]]</code> | * <code>[[aws instance.your_instance_name will be updated in-place]]</code> | ||
− | * | + | * [[count]] |
− | |||
− | |||
− | |||
== See also == | == See also == |
Advertising: