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

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.

0 votes
1 answer
7 views

how to load a ETL script to S3 bucket using yaml CloudFormation stack

I have been writing CloudFormation Stack using yaml and deploying it to AWS Infrastructure ( For legacy reasons, I can not switch to CDK unfortunately ;)) Following yaml code is a part of the ...
Pankesh Patel's user avatar
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
0 answers
15 views

cfn-lint a string or stream input is required

I updated cfn-lint to version 1.8.2. Now we're getting a lot of errors that I couldn't find solutions for online. This is the error message: E1101 Exception 'a string or stream input is required' ...
Daria's user avatar
  • 1
0 votes
0 answers
15 views

Using Aws Cloudformation and EventBridge how do I delete a DMS Replication Instance after its specific Replication Task has Finished?

I'm trying to schedule the deletion of a DMS Replication Instance whenever its ReplicationTask is "finished". I have a working Cloudformation template to create the Replication Instance and ...
Wes Hancock'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
-1 votes
1 answer
23 views

Deploying a New Lambda Function with AWS CodeBuild and AWS CodeCommit but Lambda function not created

I am trying to deploy an AWS Lambda function using AWS CodeCommit and AWS CodeBuild. The pipeline works well—all are in the right order, and the build is successful—but it doesn't create the Lambda ...
Mohil's user avatar
  • 55
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
52 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

15 30 50 per page
1
2 3 4 5
559