File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ locals {
99 https_proxy_config = var.selfhosted_configuration.https_proxy_config == null ? " " : var.selfhosted_configuration.https_proxy_config
1010 no_proxy_config = var.selfhosted_configuration.no_proxy_config == null ? " " : var.selfhosted_configuration.no_proxy_config
1111 ca_certificates = var.selfhosted_configuration.ca_certificates == null ? [] : var.selfhosted_configuration.ca_certificates
12- region = data.aws_region.this.name
12+ region = data.aws_region.this.region
1313 power_off_on_error = var.selfhosted_configuration.power_off_on_error == null ? true : var.selfhosted_configuration.power_off_on_error
1414 })
1515
1616 saas_user_data = templatefile (" ${ path . module } /user_data/saas.tftpl" , {
1717 custom_user_data = join (" \n " , [local . secure_env_vars , var . configuration ])
1818 domain_name = var.domain_name
1919 poweroff_delay = var.poweroff_delay
20- region = data.aws_region.this.name
20+ region = data.aws_region.this.region
2121 })
2222}
2323
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module "autoscaler" {
2929 auto_scaling_group_arn = module. asg . autoscaling_group_arn
3030 autoscaling_configuration = var. autoscaling_configuration
3131 aws_partition_dns_suffix = data. aws_partition . current . dns_suffix
32- aws_region = data. aws_region . this . name
32+ aws_region = data. aws_region . this . region
3333 base_name = local. base_name
3434 cloudwatch_log_group_retention = var. cloudwatch_log_group_retention
3535 spacelift_api_credentials = var. spacelift_api_credentials
@@ -49,7 +49,7 @@ module "lifecycle_manager" {
4949 auto_scaling_group_arn = module. asg . autoscaling_group_arn
5050 cloudwatch_log_group_retention = var. cloudwatch_log_group_retention
5151 aws_partition_dns_suffix = data. aws_partition . current . dns_suffix
52- aws_region = data. aws_region . this . name
52+ aws_region = data. aws_region . this . region
5353 base_name = local. base_name
5454 iam_permissions_boundary = var. iam_permissions_boundary
5555 worker_pool_id = var. worker_pool_id
You can’t perform that action at this time.
0 commit comments