“The destination CIDR block 192.168.9.0/27 is equal to or more specific than one of this VPC’s CIDR blocks. This route can target only an intrface or
I have two other templates. This template is taking imports from another template and I can share them if need be. I am working on a project with a tight deadline and I am trying to get this done. Any suggestions or feedback would be great
“The destination CIDR block 192.168.9.0/27 is equal to or more specific than one of this VPC’s CIDR blocks. This route can target only an intrface or
I have two other templates. This template is taking imports from another template and I can share them if need be. I am working on a project with a tight deadline and I am trying to get this done. Any suggestions or feedback would be great
Is it possible to append more tags in a AWS Cloudformation template that uses pre-defined tags?
I have a cloudformation template for creating a security group as follows. It references tags.yaml
that contains pre-defined tags in a s3 bucket.
AWS Cloudformation Template – How to Import Values and Sub for ALB Target Group
I am creating an ALB via Cloudformation Template. One of the resources being created is a target group that will use EC2 instance ID’s that were exported during a previous job. I need to import the values and sub the import name to reflect different environment deployments. Running the cfn-lint tool, this is a correct template:
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 CodeDeployDeploymentGroup stage,
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 variables. (Around 20). Now I am getting the following error when updating the stack.
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)
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:
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 RecordSetLogicalId. I want those to come from the Mappings section of the CFN template so that I can create unequal number of record sets in different AWS Accounts. For example 3 in Dev and 5 in Prod. When I try to use FindInMap or Split functions, I get a cfn linting error ‘[cfn-lint] E0001: Error transforming template: Fn::ForEach values must be a list of 3 elements’
What’s the recommended way to solve a cloud formation issue?
I have a large AWS CF template that I have worked on for about a year with hundreds of deploys.