All Questions
Tagged with amazon-web-services aws-cloudformation
6,304
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 ...
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: ...
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
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 ...
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 ...
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": {.....
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 ...
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 ...