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
8,372
questions
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 ...
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 ...
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' ...
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 ...
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: ...
-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 ...
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
...
-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:
...
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 ...
-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 ...
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
...
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" : "...
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', {
...
-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 ...
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 ...