Difference between revisions of "Terraform resource: aws eip"

From wikieduonline
Jump to navigation Jump to search
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip
+
<code>[[aws_eip]]</code><ref>https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip</ref>
 +
* <code>domain</code> - Indicates if this [[EIP]] is for use in [[VPC]] (vpc).
  
 +
 +
== Examples ==
 +
resource "aws_eip" "my_instance_ip" {
 +
  instance = aws_instance.my_instance.id
 +
}
 +
 +
=== Official example ===
 +
resource "aws_eip" "lb" {
 +
  instance = aws_instance.web.id
 +
  domain  = "vpc"
 +
}
  
 
== Related terms ==
 
== Related terms ==
Line 6: Line 18:
 
* <code>[[aws_vpc]]</code>
 
* <code>[[aws_vpc]]</code>
 
* <code>[[aws_egress_only_internet_gateway]]</code>
 
* <code>[[aws_egress_only_internet_gateway]]</code>
 +
* <code>[[aws_internet_gateway]]</code>
 +
* <code>[[aws_network_interface]]</code>
 +
* <code>[[aws_nat_gateway]]</code>
 +
* <code>[[aws_instance]]: [[associate_public_ip_address]]</code>
  
 
== See also ==
 
== See also ==
* {{terraform aws resources}}
+
* {{EIP}}
 
* {{IP}}
 
* {{IP}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 10:43, 5 September 2023

Advertising: