@@ -18,15 +18,15 @@ locals {
1818
1919# Docker file for FastAPI app
2020module "container_registry" {
21- source = " git::https://github.com/wri/gfw-terraform-modules.git//terraform/modules/container_registry?ref=v0.4.2.9 "
21+ source = " git::https://github.com/wri/gfw-terraform-modules.git//terraform/modules/container_registry?ref=v0.4.2.12 "
2222 image_name = lower (" ${ local . project } ${ local . name_suffix } " )
2323 root_dir = " ../${ path . root } "
2424 tag = local. container_tag
2525 force_delete = var. force_delete_ecr_repos
2626}
2727
2828module "orchestration" {
29- source = " git::https://github.com/wri/gfw-terraform-modules.git//terraform/modules/fargate_autoscaling?ref=v0.4.2.9 "
29+ source = " git::https://github.com/wri/gfw-terraform-modules.git//terraform/modules/fargate_autoscaling?ref=v0.4.2.12 "
3030 project = local. project
3131 name_suffix = local. name_suffix
3232 tags = local. tags
@@ -110,12 +110,15 @@ module "ssm" {
110110 environment = var. environment
111111 namespace = " gfw-tile-cache"
112112 contract = {
113- tile_cache_bucket = module.storage.tiles_bucket_name
114- tile_cache_bucket_arn = module.storage.tiles_bucket_arn
115- tile_cache_cloudfront_id = module.content_delivery_network.cloudfront_distribution_id
116- tile_cache_url = local.tile_cache_url
117- tile_cache_cluster = module.orchestration.ecs_cluster_name
118- tile_cache_service = module.orchestration.ecs_service_name
113+ cloudfront_invalidation_policy_arn = module.content_delivery_network.cloudfront_invalidation_policy_arn
114+ ecs_update_service_policy_arn = module.orchestration.ecs_update_service_policy_arn
115+ tile_cache_bucket = module.storage.tiles_bucket_name
116+ tile_cache_bucket_arn = module.storage.tiles_bucket_arn
117+ tile_cache_bucket_write_policy_arn = module.storage.s3_write_tiles_arn
118+ tile_cache_cloudfront_id = module.content_delivery_network.cloudfront_distribution_id
119+ tile_cache_url = local.tile_cache_url
120+ tile_cache_cluster = module.orchestration.ecs_cluster_name
121+ tile_cache_service = module.orchestration.ecs_service_name
119122 }
120123 lists = {}
121124 strings = {}
0 commit comments