'aws events list-targets-by-rule' response incomplete

0

Hi Forum Members,

There is an issue with the 'aws events list-targets-by-rule' response, as per below.

Prerequisites:

  1. Have a VPC set up with private subnets.
  2. Have an ECS task set up which uses the compatibility FARGATE.
  3. Have a CloudWatch event rule set up with a cron running daily, named let's say 'test-rule'.
  4. Have a CloudWatch event target set up for the rule that points to the ECS task set up in step 2. The target should use a private subnet to start the ECS task in, and should use the launch type FARGATE.

Reproduction steps:

  1. Run the command
aws events list-targets-by-rule --rule "test-rule"
  1. Observe that the response/output doesn't contain either the network configuration details or the launch type, while according to the documentation it should: https://docs.aws.amazon.com/cli/latest/reference/events/list-targets-by-rule.html

Does anyone happen to know if this is a bug, or am I just overlooking something?

Thank you in advance for your input.

질문됨 5년 전299회 조회
1개 답변
0

For anyone who runs into the same issue: update your AWS CLI to the latest version.

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠