Difference between revisions of "Terraform resource: aws eip"
Jump to navigation
Jump to search
↑ https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip
Line 1: | Line 1: | ||
<code>[[aws_eip]]</code><ref>https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip</ref> | <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). | * <code>domain</code> - Indicates if this [[EIP]] is for use in [[VPC]] (vpc). | ||
Latest revision as of 10:43, 5 September 2023
Examples[edit]
resource "aws_eip" "my_instance_ip" { instance = aws_instance.my_instance.id }
Official example[edit]
resource "aws_eip" "lb" { instance = aws_instance.web.id domain = "vpc" }
Related terms[edit]
- AWS Elastic IP (EIP)
aws_vpc
aws_egress_only_internet_gateway
aws_internet_gateway
aws_network_interface
aws_nat_gateway
aws_instance: associate_public_ip_address
See also[edit]
- EIP, ENI,
PublicIp
,aws ec2 describe-addresses | aws ec2 associate-address | aws ec2 allocate-address
,AddressLimitExceeded
,MapPublicIpOnLaunch:
,aws_eip
- IP, IPv4, IPv6, subnet, CIDR, netmask, IP address, Public IP, Private IP, AWS Elastic IP (EIP), Geo restriction, Ipstack, IPAM, Static, BYOIP
Advertising: