-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdata.tf
More file actions
29 lines (24 loc) · 745 Bytes
/
data.tf
File metadata and controls
29 lines (24 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
data "azurerm_client_config" "current" {}
data "azurerm_virtual_network" "existing" {
name = var.virtual_network_name
resource_group_name = var.virtual_network_resource_group_name
}
# Note: Billing accounts are now provided as input variables instead of being enumerated
# Get current public IP for external deployment
# data "http" "current_ip" {
# count = var.deploy_from_external_network ? 1 : 0
# url = "https://api.ipify.org?format=text"
# }
data "archive_file" "function" {
type = "zip"
source_dir = "${path.module}/src/cost_export"
output_path = "${path.module}/cost_export.zip"
excludes = [
"__pycache__",
"*.pyc",
"*.pyo",
".pytest_cache",
".DS_Store",
"*.log"
]
}