我正在使用AWS ECS Fargate,我目前正在使用服务发现来允许我的任务彼此通信。我有一个问题,只有当我将这个安全组放在它们上时,我的任务才能进行通信。
resource "aws_security_group" "ecs_config_service" {
name = "staging-ecs-config-service"
description = "We need this so our services can communicate"
vpc_id = module.vpc.
我正在按照教程使用CDK部署到ECS,但是当我部署时,我在部署后收到以下错误。
botocore.exceptions.NoRegionError: You must specify a region.
以下是我要部署的内容。
app.py
#!/usr/bin/env python3
from os import environ
from aws_cdk import core as cdk
from ecs_test.ecs_test_stack import EcsTestStack
_env=cdk.Environment(account=environ["CDK_DEF
我正在为Windows集群使用最新的ECS代理v1.22.0。我想尝试新特性,但是下面的错误消息失败了:
service XXX was unable to place a task because no container instance met
all of its requirements. The closest matching container-instance YYY is
missing an attribute required by your task.
ECS代理日志不显示任何错误。“我的任务”具有以下属性:
"requiresAttributes":
我们正在使用terraform导入ECS解决方案,由于某些原因,我无法通过此错误。
aws_ecs_task_definition.clustername: ClientException: Container.name should not be null or empty. 09-Feb-2017 23:35:1 status code: 400
我相信这来自这个json文件,service-prod-server.json
#aws_ecs_task_definition
resource "aws_ecs_task_definition" "cluster-na