amazon-cloudformation

Get TargetGroupArn from name?

允我心安 提交于 2020-12-12 11:12:32
问题 You use TargetGroupArn in a CF template for ECS services. I have a situation where the target group has already been created and I want to make this a param for the template But those arn's are awful: arn:aws:elasticloadbalancing:us-east-1:123456:targetgroup/mytarget/4ed48ba353064a79 That unique number at the end makes this almost impossible. Can I reference the target by name instead of full arn in the template? Maybe i can use Fn::GetAtt here but not sure what that looks like This doesn't

Get TargetGroupArn from name?

北城余情 提交于 2020-12-12 11:12:16
问题 You use TargetGroupArn in a CF template for ECS services. I have a situation where the target group has already been created and I want to make this a param for the template But those arn's are awful: arn:aws:elasticloadbalancing:us-east-1:123456:targetgroup/mytarget/4ed48ba353064a79 That unique number at the end makes this almost impossible. Can I reference the target by name instead of full arn in the template? Maybe i can use Fn::GetAtt here but not sure what that looks like This doesn't

Get TargetGroupArn from name?

痴心易碎 提交于 2020-12-12 11:12:03
问题 You use TargetGroupArn in a CF template for ECS services. I have a situation where the target group has already been created and I want to make this a param for the template But those arn's are awful: arn:aws:elasticloadbalancing:us-east-1:123456:targetgroup/mytarget/4ed48ba353064a79 That unique number at the end makes this almost impossible. Can I reference the target by name instead of full arn in the template? Maybe i can use Fn::GetAtt here but not sure what that looks like This doesn't

How to break existing CloudFormation stack into separate nested stacks, moving existing resources under nested stack

送分小仙女□ 提交于 2020-12-11 09:11:48
问题 Problem: Recently we encountered a problem with respect to maximum number of resources that you can declare in a single CloudFormation template. A template can support a maximum of 200 resources and we are very close to reach that limit. To specify more resources, we need to separate our template into multiple templates by using Nested Stacks, We are evaluating a best approach to breakdown the template. Our approach: We have created a nested stack from our main stack and removed some of the

How to break existing CloudFormation stack into separate nested stacks, moving existing resources under nested stack

别说谁变了你拦得住时间么 提交于 2020-12-11 09:11:09
问题 Problem: Recently we encountered a problem with respect to maximum number of resources that you can declare in a single CloudFormation template. A template can support a maximum of 200 resources and we are very close to reach that limit. To specify more resources, we need to separate our template into multiple templates by using Nested Stacks, We are evaluating a best approach to breakdown the template. Our approach: We have created a nested stack from our main stack and removed some of the

How to break existing CloudFormation stack into separate nested stacks, moving existing resources under nested stack

不羁的心 提交于 2020-12-11 09:09:25
问题 Problem: Recently we encountered a problem with respect to maximum number of resources that you can declare in a single CloudFormation template. A template can support a maximum of 200 resources and we are very close to reach that limit. To specify more resources, we need to separate our template into multiple templates by using Nested Stacks, We are evaluating a best approach to breakdown the template. Our approach: We have created a nested stack from our main stack and removed some of the

How to break existing CloudFormation stack into separate nested stacks, moving existing resources under nested stack

女生的网名这么多〃 提交于 2020-12-11 09:08:40
问题 Problem: Recently we encountered a problem with respect to maximum number of resources that you can declare in a single CloudFormation template. A template can support a maximum of 200 resources and we are very close to reach that limit. To specify more resources, we need to separate our template into multiple templates by using Nested Stacks, We are evaluating a best approach to breakdown the template. Our approach: We have created a nested stack from our main stack and removed some of the

Cloudwatch failedinvocation error no logs available

半腔热情 提交于 2020-11-26 01:37:40
问题 I have set up a Cloudwatch rule event where an ECS task definition is started when a previous task definition is completed. I can see the event triggers the task definition however it fails. The only visibility of this failure is in the rule metrics, where I see the metric failedinnvocations. Question, are there any logs to see why the trigger failed? I can manually set up the rule via the management console and everything works fine. The error occurs when I set up the rule via a