myip
4ops/myip/http
Simple data module for getting current external IP address
MyIP Simple data module for getting current external IP address Usage example Setup modules in main.tf: ``terraform module myip { source = "4ops/myip/http" version = "1.0.0" } resource aws_security_group allow_ssh { name = "allow_ssh" description = "Allow SSH inbound connections" vpc_id = var.vpc_id ingress { from_port = 22 to_port = 22 protocol = "tcp" cidr_blocks = concat(compact(var.trusted_hosts), [module.myip.address]) } } `` Also, see example directory.
| Name | Type | Description | Default |
|---|---|---|---|
| get_address_url | string | URL for getting external IP address | "https://api.ipify.org" |
| get_address_request_headers | map | HTTP headers to send | {
"Accept": "text/plain"
} |
address — External IP addressAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,