mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 05:01:55 +03:00
5d9eeb6c4c
* Terraform 0.12
9 lines
175 B
Terraform
9 lines
175 B
Terraform
data "http" "workstation-external-ip" {
|
|
url = "http://ipv4.icanhazip.com"
|
|
}
|
|
|
|
locals {
|
|
workstation-external-cidr = "${chomp(data.http.workstation-external-ip.body)}/32"
|
|
}
|
|
|