File tree 13 files changed +17
-17
lines changed
13 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 9
9
10
10
resource "random_id" "suffix" { byte_length = 2 }
11
11
12
- data aws_s3_bucket "data_bucket_override" {
12
+ data " aws_s3_bucket" "data_bucket_override" {
13
13
count = var. data_bucket_override != null ? 1 : 0
14
14
bucket = var. data_bucket_override
15
15
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ variable "resource_tags" {
26
26
27
27
variable "admin_cidr" {
28
28
description = " Optional. The range of IP addresses which should be able to access the DBT instance. Defaults to the local user's current IP."
29
- type = list
29
+ type = list ( any )
30
30
default = []
31
31
}
32
32
variable "container_image" {
Original file line number Diff line number Diff line change 1
1
resource "random_id" "suffix" { byte_length = 2 }
2
2
3
- data aws_s3_bucket "ml_bucket_override" {
3
+ data " aws_s3_bucket" "ml_bucket_override" {
4
4
count = var. ml_bucket_override != null ? 1 : 0
5
5
bucket = var. ml_bucket_override
6
6
}
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ variable "static_hyperparameters" {
144
144
Map of hyperparameter names to static values, which should not be altered during hyperparameter tuning.
145
145
E.g. `{ "kfold_splits" = "5" }`
146
146
EOF
147
- type = map
147
+ type = map ( any )
148
148
default = {
149
149
}
150
150
}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ data "http" "icanhazip" { url = "https://ipv4.icanhazip.com" }
9
9
10
10
locals {
11
11
project_shortname = substr (var. name_prefix , 0 , length (var. name_prefix ) - 1 )
12
- my_ip = " ${ chomp (data. http . icanhazip . body )} "
12
+ my_ip = chomp (data. http . icanhazip . body )
13
13
my_ip_cidr = " ${ chomp (data. http . icanhazip . body )} /32"
14
14
admin_cidr = flatten ([local . my_ip_cidr , var . admin_cidr ])
15
15
app_cidr = length (var. app_cidr ) == 0 ? local. admin_cidr : var. app_cidr
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ variable "admin_ports" {
37
37
A map defining the admin ports which should be goverened by `admin_cidr`. Single ports
38
38
(e.g. '22') and port ranges (e.g. '0:65535') and both supported.
39
39
EOF
40
- type = map
40
+ type = map ( any )
41
41
default = { " SSH" : " 22" }
42
42
}
43
43
variable "app_cidr" {
@@ -54,7 +54,7 @@ variable "app_ports" {
54
54
A map defining the end-user ports which should be goverened by `app_cidr`. Single ports
55
55
(e.g. '22') and port ranges (e.g. '0:65535') and both supported.
56
56
EOF
57
- type = map
57
+ type = map ( any )
58
58
default = {}
59
59
}
60
60
variable "cluster_ports" {
Original file line number Diff line number Diff line change 1
1
output "ecr_repo_arn" {
2
2
description = " The unique ID (ARN) of the ECR repo."
3
- value = " ${ aws_ecr_repository . ecr_repo . arn } "
3
+ value = aws_ecr_repository. ecr_repo . arn
4
4
}
5
5
output "ecr_repo_root" {
6
6
description = " The path to the ECR repo, excluding image name."
7
- value = " ${ dirname (aws_ecr_repository. ecr_repo . repository_url )} "
7
+ value = dirname (aws_ecr_repository. ecr_repo . repository_url )
8
8
}
9
9
output "ecr_image_url" {
10
10
description = " The full path to the ECR image, including image name."
11
- value = " ${ aws_ecr_repository . ecr_repo . repository_url } "
11
+ value = aws_ecr_repository. ecr_repo . repository_url
12
12
}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ output "ecs_runtask_cli" {
38
38
}
39
39
output "ecs_task_name" {
40
40
description = " The name of the ECS task."
41
- value = " ${ aws_ecs_task_definition . ecs_task . family } "
41
+ value = aws_ecs_task_definition. ecs_task . family
42
42
}
43
43
output "ecs_security_group" {
44
44
description = " The name of the EC2 security group used by ECS."
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ variable "admin_ports" {
36
36
}
37
37
variable "admin_cidr" {
38
38
description = " Optional. The range of IP addresses which should be able to access admin ports. Defaults to the local user's current IP."
39
- type = list
39
+ type = list ( any )
40
40
default = []
41
41
}
42
42
variable "app_ports" {
@@ -46,7 +46,7 @@ variable "app_ports" {
46
46
}
47
47
variable "app_cidr" {
48
48
description = " Optional. The range of IP addresses which should be able to access app ports. Defaults to the local user's current IP."
49
- type = list
49
+ type = list ( any )
50
50
default = []
51
51
}
52
52
variable "container_command" {
Original file line number Diff line number Diff line change 1
1
output "glue_crawler_name" {
2
2
description = " The name of the Glue crawler."
3
- value = " ${ aws_glue_crawler . glue_crawler . id } "
3
+ value = aws_glue_crawler. glue_crawler . id
4
4
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ locals {
18
18
project_shortname = local. config [" project_shortname" ]
19
19
azure_subscription = local. config [" subscription_id" ]
20
20
azure_location = local. config [" azure_location" ]
21
- name_prefix = " ${ local . project_shortname } "
21
+ name_prefix = local. project_shortname
22
22
resource_tags = merge (local. config [" resource_tags" ], { project = local.project_shortname })
23
23
}
24
24
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ locals {
18
18
project_shortname = local. config [" project_shortname" ]
19
19
azure_subscription = local. config [" subscription_id" ]
20
20
azure_location = local. config [" azure_location" ]
21
- name_prefix = " ${ local . project_shortname } "
21
+ name_prefix = local. project_shortname
22
22
resource_tags = merge (local. config [" resource_tags" ], { project = local.project_shortname })
23
23
}
24
24
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ locals {
18
18
project_shortname = local. config [" project_shortname" ]
19
19
azure_subscription = local. config [" subscription_id" ]
20
20
azure_location = local. config [" azure_location" ]
21
- name_prefix = " ${ local . project_shortname } "
21
+ name_prefix = local. project_shortname
22
22
resource_tags = merge (local. config [" resource_tags" ], { project = local.project_shortname })
23
23
}
24
24
You can’t perform that action at this time.
0 commit comments