Difference between revisions of "Terraform resource: aws eip"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 2: | Line 2: | ||
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip | * https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip | ||
+ | == Example == | ||
+ | resource "aws_eip" "my_instance_ip" { | ||
+ | instance = aws_instance.my_instance.id | ||
+ | } | ||
== Related terms == | == Related terms == |
Revision as of 07:29, 17 March 2023
Example
resource "aws_eip" "my_instance_ip" { instance = aws_instance.my_instance.id }
Related terms
- AWS Elastic IP (EIP)
aws_vpc
aws_egress_only_internet_gateway
aws_internet_gateway
aws_network_interface
aws_nat_gateway
aws_instance
See also
- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
- IP, IPv4, IPv6, subnet, CIDR, netmask, IP address, Public IP, Private IP, AWS Elastic IP (EIP), Geo restriction, Ipstack, IPAM, Static, BYOIP
Advertising: