Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
13 views

Cloudfromation script erroring out on CodeDeployDeploymentGroup

I have a sample script which creates EC2, CodeBuild, CodeDeploy and its Deployment Group with ALB and then it goes further to setup with codePipeline, however I am getting an error on ...
Pranav Chaudhari's user avatar
0 votes
1 answer
18 views

How to isolate environment variables from the shared lambda function template in cloudformation

This is my function.yaml which creates the lambda function here I have put the environment variables but it's shared all across the lambda function stack I make function.yaml AWSTemplateFormatVersion: ...
Neetesshhr's user avatar
3 votes
1 answer
48 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
15 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
24 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
34 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
11 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
43 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
51 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
0 answers
24 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
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
14 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
32 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
421