File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 8
8
#
9
9
10
10
function mgmtstorage_add_network_exception() {
11
- local RESOURCE_GROUP=$( get_resource_group_name)
12
- local SA_NAME=$( get_storage_account_name)
13
- local MY_IP=$( get_my_ip)
11
+ local RESOURCE_GROUP
12
+ RESOURCE_GROUP=$( get_resource_group_name)
13
+
14
+ local SA_NAME
15
+ SA_NAME=$( get_storage_account_name)
16
+
17
+ local MY_IP
18
+ MY_IP=$( get_my_ip)
14
19
15
20
echo -e " \nAdding deployment network exception to storage account $SA_NAME ..."
16
21
@@ -38,9 +43,14 @@ function mgmtstorage_add_network_exception() {
38
43
}
39
44
40
45
function mgmtstorage_remove_network_exception() {
41
- local RESOURCE_GROUP=$( get_resource_group_name)
42
- local SA_NAME=$( get_storage_account_name)
43
- local MY_IP=$( get_my_ip)
46
+ local RESOURCE_GROUP
47
+ RESOURCE_GROUP=$( get_resource_group_name)
48
+
49
+ local SA_NAME
50
+ SA_NAME=$( get_storage_account_name)
51
+
52
+ local MY_IP
53
+ MY_IP=$( get_my_ip)
44
54
45
55
echo -e " \nRemoving deployment network exception from storage account $SA_NAME ..."
46
56
Original file line number Diff line number Diff line change @@ -6,5 +6,9 @@ terraform {
6
6
source = " hashicorp/azurerm"
7
7
version = " 3.117.0"
8
8
}
9
+ http = {
10
+ source = " hashicorp/http"
11
+ version = " ~> 3.4"
12
+ }
9
13
}
10
14
}
You can’t perform that action at this time.
0 commit comments