Questions tagged [amazon-cloudformation]

1 votes
1 replies
Cloudformation: Error: Member must have length less than or equal to 20
I'm using this CloudFormation template to create a Cognito User Pool: { "AWSTemplateFormatVersion": "2010-09-09", "Description": "Templa...
1 votes
1 replies
Recreating CloudFormation Build Bucket
Created a CloudFormation stack template named foo.yaml. I validate, package, and deploy a stack from foo.yaml: aws cloudformation package ` --te...
0 votes
1 replies
Where to find AWS S3 Deployment Key
I'm following along with Serverless Watermark using AWS Lambda Layers & FFmpeg - DevOpStar and I get stuck right at Deployment Key. Where...
0 votes
1 replies
Can i use wildcards to define a resource in an AWS IAM role?
Im specifying a role in CloudFormation but need to be able to access multiple resources. So for example i may have 5 repos named myrepos1, myrep...
2 votes
0 replies
Export AppSync state/config?
I've been using CloudFormation to keep my AppSync API in my source control so it's repeatable and checked into the repo. Problem is that if I mak...
-2 votes
0 replies
issue with CFT and ECR
Hi I'm getting error while deploying the CFT: Invalid parameter at 'repositoryName' failed to satisfy constraint: 'must satisfy regular expre...
asked 1 month ago
1 votes
1 replies
Deploying Jenkins to AWS using cloudformation and secrets manager
My objective is to build Jenkins as a docker image and deploy it to AWS Elastic Beanstalk. To build the docker image I am using the Configurati...
0 votes
0 replies
Transform AWS Cloud formation templates contents to java objects
I would like to transform the cloud formation template(JSON) contents to JAVA objects. The cloud formation templates have AWS functions(fn:GetAtt...
1 votes
1 replies
Is there a tool that will tell me what permissions will be required to create a Cloudformation template?
My team is attempting to move towards templatization of our services and their infrastructure. We have found it to be extremely time-consuming t...
0 votes
1 replies
SAM template for API Gateway has errors within Visual Studio (as part of Serverless Application solution)
I am trying to create a SAM template (serverless.template) in visual studio to publish my API Gateway. I have a couple of errors being produced w...
0 votes
1 replies
AWS CloudFormation Template - How to configure Lambda with a SQS queue to pick the item from queue
I am pretty new in AWS CloudFormaton template creation. Could not able to find the way to create a Lambda function which will connect with the SQ...
-3 votes
0 replies
Need to configure the Scripts under userdata in the Clouformation:init section of EC2 Instance
1.Need Assistance in configuering below mentioned Userdata Data scripts under cloudformation:init section of the ec2 instance metadata. Tried imp...
0 votes
0 replies
CloudFormation fails to create CodeDeploy DeploymentGroup
I am trying to put together some CloudFormation to setup CodePipeline to deploy from Github to ECS/Fargate. However, I consistently get the erro...
0 votes
0 replies
Cloudformation Mapping of a list of objects in json
I have an autoscaling Group defined with a json to be launched with cloudformation. Among other things I define in my autoscaling group:...
0 votes
0 replies
CloudFormation templates for Global Aurora Database
I am trying to write Cloudformation template to get a aws Global Aurora Database. However I am not able to figure out where and how to add the Gl...
2 votes
1 replies
Importing a value using joins in Cloudformation stack
I have created a VPC stack which is exporting values such as VPC id, private and public subnet group. I am trying to build a string using short h...
0 votes
1 replies
Can't delete a Non-empty S3 bucket and Log group on deletion of CFN stack
When I delete a cloudformation stack, it doesn't delete the non empty s3 bucket with it and non-empty log group with it. Any idea why is it so?...
0 votes
1 replies
AWS Cloudformation DB Instance IAM Roles
I'm trying to associate an IAM role with by DB Instance as documented here: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMy...
0 votes
0 replies
two resources shown in api gateway stage after deployment
I have created one lambda function when I deploy it. Using sls deploy -s dev, I can see in API gateway stage dev with resource path /users. func...
2 votes
1 replies
Benefits of using AWS::CloudFormation::Init
I've been using cloudformation templates for a while now and I'm keep asking myself the following question: What are the benefits of using AWS::...
1 votes
1 replies
Cross-Stack Lambda and API Gateway Permissions with AWS-CDK
I have two code bases. One defines a service (Service A) that includes an AWS lambda which queries a dynamoDB table. Another, defines an aggrega...
1 votes
0 replies
Grant Cloudformation permissions to only resources that are part of the stack
At my company, our CI/CD pipleline can only connect to AWS via an assumed IAM role. I'm trying to lock down this role so that it can only update...
0 votes
1 replies
How to recover ebs from snapshot
Given a cloudformation template with an EC2 instance that uses a EBS volume defined as follows: DefaultVolume: Type: AWS::EC2::Volume...
0 votes
1 replies
How to generate AWS CloudFormation using existing environments
I have existing AWS configuration Api getway RDS EBS EC2 Cognito S3 aws Lambda Now I want to create different environment like Dev, QA, UAT an...
0 votes
0 replies
getting Cloudformation from an existing AWS Glue Crawler
Is there a way to create/get/retrieve the cloudformation resource json/yaml from an existing AWS Glue Crawler? If so, how do I get it. If not, ho...