Skip to main content
How are we doing? Please help us improve AWS. Take our short survey

Questions tagged [aws-cloudformation]

For questions about CloudFormation, part of the Amazon Web Services (AWS) that provides a way to manage a collection of related AWS resources.

aws-cloudformation
3 votes
1 answer
32 views

How to get security and routing profile?

I have the following cf script creating a simple AWS Connect instance. Resources: AmazonConnectInstance: Type: AWS::Connect::Instance Properties: Attributes: InboundCalls: YES ...
fade2black's user avatar
-1 votes
0 answers
13 views

Mapping an existing Lambda function to existing DynamoDB tables

Is there anyway to add an existing Lambda function to existing DynamoDB tables using CloudFormation? Given that all the tables have turned on stream details. Here is my current script: ...
DaveTheNewBie's user avatar
0 votes
1 answer
21 views

AWS lambda layer cloudformation returns no changes to deploy

I am storing lambda layer code in s3 in zip file. This file is updated each time I am making changes in the code. First deployment succseed, but now when I am trying to update it I am getting message ...
psowa001's user avatar
  • 793
-2 votes
0 answers
25 views

What to do when breaching 4Kb limit on Environment Variables in AWS Cloud Formation Template?

Hi I am using AWS Cloud Formation Template for defining ECS services. Over the course of time, the number of services have increased and correspondingly, I also have a large number of environment ...
Erdnase's user avatar
  • 766
0 votes
0 answers
8 views

Aws: Authorizer name must be unique

In my template.yaml I have this config for an authorizer and API, when I try to deploy it I get this error: Authorizer name must be unique.Authorizer CognitoAuthorizer already exists in this RestApi ...
Emiliano Ortz Hernndez's user avatar
0 votes
0 answers
15 views

AWS Cloudformation error while creating SNS subscription on loop

Below is my cloudformation snippet that creates a SNS topic along with the subscriptions to the SQS endpoint based on parameters file (paramters.json) paramters.json { "Key" : "...
Chel MS's user avatar
  • 446
0 votes
1 answer
38 views

AWS CDK: How do I create an NsRecord only if it doesn't exist?

In my AWS CDK stack, I have the following, which creates a HostedZone and then associates that zone to an NsRecord as follows: const zone = new route53.PublicHostedZone(this, 'MyHostedZone', { ...
CB_at_Sw's user avatar
  • 337
-1 votes
0 answers
19 views

I am able to create EC2 instance but not able to connect via RDP client

I am able to create EC2 instance using CloudFormation template but not able to connect via RDP client. I am new to AWS, so any help would be appreciated. When I try to connect to instance via RDP, it ...
Karthik's user avatar
  • 37
0 votes
1 answer
48 views

Queue policy removed from SQS queue on CloudFormation stack update

I observed strange behaviour when updating a CloudFormation stack today and was wondering if I was doing something wrong. Simplified example below. Repro Steps Step 1: Create a stack with two queues ...
Philippe Aubertin's user avatar
0 votes
1 answer
32 views

AWS CloudFormation returning "null" error message

I am creating a Security Group resource via CloudFormation in a yaml template. I am able to create a change set for this, but when I execute the change, the Security Group creation step fails (...
Auroratide's user avatar
  • 2,517
0 votes
0 answers
21 views

AWS Cognito User Pool Client: Updating RefreshTokenValidity without losing callback URLs using cloud formation yaml

I have a Cognito user pool client application that is integrated with other application, and I need to increase the RefreshTokenValidity using CloudFormation YAML. However, whenever I update the ...
Mohammed Fairoz's user avatar
0 votes
1 answer
35 views

Creating CloudWatch Alarm for ElasticCache (Redis) via CDK

I have an existing Redis "Instance" which is working fine, created by CDK Code: redis = new elasticache.CfnReplicationGroup(this, id + 'RedisCluster', { port: 6379, ...
Sam Anthony's user avatar
  • 1,719
0 votes
0 answers
15 views

How do I configure an EventRule to have a default option using CloudFormation

I am using AWS CloudFormation to configure EventBridge Rules to direct events to different SQS queues depending on their contents. For example: { "detail": { "data": {.....
Jared DuPont's user avatar
0 votes
0 answers
11 views

AWS Cloudfromation Fn::ForEach does not accept values from Mappings

Below is my Resources Section in CFN template. I want to create AWS Route53 Record Sets but the problem is that I need to hard code the number for iterations for the forEach as can be seen below under ...
Amol Kshirsagar's user avatar
0 votes
0 answers
28 views

How can I output a list of objects in a CloudFormation template?

I've got a template for an ECS service which I am using for multiple different microservices. I need to start passing different secrets to some of the services. I'm trying to pass in a comma separated ...
Andrew Williamson's user avatar

15 30 50 per page
1
2 3 4 5
558